Winkelstraat/stock hub/v1/rma
The rma webhook performs a POST in JSON format to a designated endpoint of the reseller.
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
-
increment_id string
-
order_increment_id string
-
date_requested string(date-time)
-
items array[object]
-
status string
-
track object | null
-
date_received string | null
-
date_processed string | null
-
currency string
-
po_number string
The PO (Purchase order) number is the reference number to pay for approved purchases. The PO number is used to link the RMA to the order of the purchasing company.
Request example
{
"items": [
{
"id": 90,
"mpn": "3G1MXE1MXVZF982",
"sku": "wsnl199-5c9de5ad4681ed3eb551e7ee",
"size": "S",
"color": "Blauw",
"reason": "no_reason",
"status": "authorized",
"parent_sku": "381189",
"resolution": "refund",
"manufacturer": "Emporio Armani",
"qty_approved": null,
"qty_returned": null,
"qty_requested": 1,
"item_return_fee": 2.95,
"merchant_resolution": null,
"row_line_return_fee": 2.95,
"merchant_product_reference": "3G1MXE1MXVZF982"
}
],
"track": {
"method": null,
"carrier": "ups",
"tracking_url": "https://wwwapps.ups.com/WebTracking/processInputRequest?loc=nl_NL&tracknum=1Z97W1436800867AAP",
"tracking_number": "1Z97W143680086AAP"
},
"status": "authorized",
"currency": "EUR",
"po_number": "YOUR_ORDER_REFERENCE",
"increment_id": "000000093",
"date_received": null,
"date_processed": null,
"date_requested": "2024-03-08T13:25:19.000+00:00",
"order_increment_id": "000000549"
}