The rma webhook performs a POST in JSON format to a designated endpoint of the reseller.
Headers
-
Version of the webhook.
-
The API-key is a shared secret that can be used to authenticate the incomming request.
Request examples
# Headers
x-version: V1
x-api-key: string
# Payload
{
"increment_id": "000000093",
"order_increment_id": "000000549",
"date_requested": "2024-03-08T13:25:19.000+00:00",
"items": [
{
"id": 90,
"resolution": "refund",
"reason": "no_reason",
"qty_requested": 1,
"qty_approved": null,
"qty_returned": null,
"manufacturer": "Emporio Armani",
"color": "Blauw",
"size": "S",
"mpn": "3G1MXE1MXVZF982",
"merchant_product_reference": "3G1MXE1MXVZF982",
"merchant_resolution": null,
"parent_sku": "381189",
"item_return_fee": 2.95,
"row_line_return_fee": 2.95,
"sku": "wsnl199-5c9de5ad4681ed3eb551e7ee",
"status": "authorized"
}
],
"status": "authorized",
"track": {
"tracking_number": "1Z97W143680086AAP",
"carrier": "ups",
"method": null,
"tracking_url": "https://wwwapps.ups.com/WebTracking/processInputRequest?loc=nl_NL&tracknum=1Z97W1436800867AAP"
},
"date_received": null,
"date_processed": null,
"currency": "EUR",
"po_number": "YOUR_ORDER_REFERENCE"
}