What it does. Notifies you when key details of an order item change — currently, when an item is refunded to the customer (a credit memo).
When it is sent. When an order item is refunded to the customer.
Version. ⚠️ Deprecated. Use the V2 winkelstraat/push-api/v2/order-item webhook instead.
Headers
-
Version of the webhook.
-
The API-key is a shared secret that can be used to authenticate the incoming request.
Responses
-
Delivered. Return any 2xx status to acknowledge receipt; the response body may be empty or contain anything, as Winkelstraat does not read it. Any 2xx response is treated as a successful delivery and the webhook is not retried.
No response body is expected; Winkelstraat does not read it. Returning a 2xx with an empty body is sufficient.
-
Accepted for asynchronous processing. Treated the same as 200 — the webhook is not retried.
-
Not accepted. Any non-2xx response — or a connection/timeout failure — is treated as a failed delivery, and the webhook is retried several times over the next 24 hours.
# Headers
x-version: V1
x-api-key: string
# Payload
{
"order": {
"id": "000000549",
"order_id": "000000549",
"main_order_id": "000000549"
},
"order_item": {
"sku": "wsnl199-wsnl199-5c9de5ad4681ed3eb551e7ee",
"name": "t-shirt",
"price": 271,
"updated_at": "2024-02-12T08:40:35.000+00:00",
"reference": "3G1MXE1MXVZF982",
"article_number": "3G1MXE1MXVZF982 L",
"manufacturer": "Emporio Armani",
"size": "L",
"color": "Blauw",
"uid": "0:3:bIrcd5YMqzVb+W+utk+eR+4nSTDVc8hcb6pmLaAQKA==",
"item_id": "r06",
"order_item_id": "r06"
},
"update": {
"order_type_event": "creditmemo",
"id": "000000060",
"status": "none",
"quantity": 1,
"creditmemo_item_id": "6xO="
}
}
{}