Webhook/winkelstraat/push api/v2/order item
The order-item webhook executes a POST in JSON format to a designated endpoint of the merchant. The order-item webhook event is send when key attributes of an order item change value. Currently, we only send these update events when items are items are refunded to a customer.
Headers
-
Version of the webhook.
-
x-api-key string
The API-key is a shared secret that can be used to authenticate the incomming request.
Body
-
order object
Additional properties are allowed.
-
order_item object
Additional properties are allowed.
-
update object
The update describes the change relative to the order item. Currently, we have only specified a creditmemo item update.
Additional properties are allowed.
Request example
{
"order": {
"order_id": "000000549"
},
"update": {
"id": "000000060",
"status": "NONE",
"quantity": 1,
"order_type_event": "CREDITMEMO",
"creditmemo_item_id": "6xO="
},
"order_item": {
"sku": "wsnl199-wsnl199-5c9de5ad4681ed3eb551e7ee",
"uid": "0:3:bIrcd5YMqzVb+W+utk+eR+4nSTDVc8hcb6pmLaAQKA==",
"name": "t-shirt",
"size": "L",
"color": "Blauw",
"price": 271,
"reference": "3G1MXE1MXVZF982",
"updated_at": "2024-02-12T08:40:35.000+00:00",
"manufacturer": "Emporio Armani",
"order_item_id": "r06",
"article_number": "3G1MXE1MXVZF982 L"
}
}