Browse all articles

Return webhooks

Last updated

With the returns add-on on, you can let ChannelDock tell your own system when something happens to a return: its progress changes, items are received, a note is added, a settlement is made or a request is decided. You set them up like any other ChannelDock webhook. This article is for developers.

Steps

  1. Go to Settings → API & Webhooks and click Create new webhook.
  2. Enter a Webhook name and the Webhook URL of your endpoint.
  3. Under Event to trigger webhook, pick one of the events in the Returns platform group (see the table below).
  4. Leave Status on Active and set a Webhook secret, or click Generate.
  5. Click Save webhook. Add one webhook per event you want to receive.

Events

Event Label in ChannelDock When it fires
return.state.changed Return progress changed The return moves to another state, for example from announced to on its way.
return.received Return items received or graded Items are received or graded.
return.note.created Return note or customer message added Your team adds a note or the customer sends a message.
return.resolution.created Return settlement created A refund, credit, exchange or other settlement is created.
return.resolution.updated Return settlement done or failed A settlement is done or failed.
return.request.created Return request waiting for a decision A rule holds a return back as a request for you to decide.
return.request.decided Return request decided A request is approved, rejected or otherwise decided.
return.exchange_order.created Exchange or replacement order created for a return An exchange or replacement order is created.

The existing events return.created, return.handled and return.product.updated keep working as before.

Payload

Every delivery has the same envelope as other ChannelDock webhooks: event, payload and, with a secret, the signature in the X-Channeldock-Signature header.

  • Return events (all except the two request events) send the return in the same shape as return.created, plus the platform object on the return and on each line in return_products. These are the same platform objects as in the API. See The returns API.
  • Request events send the request:
{
  "event": "return.request.created",
  "payload": {
    "id": 881,
    "seller_id": 3,
    "form_id": 10,
    "order_id": 552910,
    "return_id": 0,
    "status": "pending",
    "state": "request-pending",
    "withdrawal": false,
    "rules": ["Check returns above €100"],
    "items": [
      {"order_product_id": 5512, "product_id": 4410, "quantity": 1, "reason": "Too small", "resolution_type": "refund", "unit_price_paid": 74.95}
    ],
    "created_at": "2026-11-28 14:02:11",
    "decided_at": null,
    "customer": {"name": "Sam Jansen", "email": "[email protected]", "phone": "", "language": "nl"}
  }
}

rules lists the rules that held the request back, or withdrawal for a withdrawal. return_id stays 0 until the request becomes a return.

Who receives them

  • You as seller receive the events for your own returns. The events are only offered and only sent when the returns add-on is on for your account.
  • Fulfilment centres that are connected to you receive return events for your returns when they set up the same events. They receive request events only for return forms where My fulfilment center may change this form is on.
  • Fulfilment centres never get customer details. The customer block is removed from every return event they receive, also inside platform.
  • For your own webhooks, the customer block follows the personal data setting of your API. When personal data is switched off, it is left out. Contact support to change that setting.

Good to know

  • Requests from a return form in test mode do not send request events.
  • Retries, signature checks and best practices are the same as for all webhooks. See Setup Webhooks in ChannelDock.
  • Fulfilment centres find the webhook settings under Settings → API & webhooks in their own account. The Returns platform group shows there as soon as one connected seller has the add-on.
  • Only the account owner and employees with admin rights can manage webhooks.

Related articles


Was this helpful?

Related articles