The order 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": "000000549",
"created_at": "2024-03-11T10:58:51.000+00:00",
"updated_at": "2024-03-11T11:03:21.000+00:00",
"items": [
{
"sku": "wsnl199-5c9de5ad4681ed3eb551e7ee",
"qty_ordered": 2,
"item_price_inc_tax": 270,
"row_total_inc_tax": 540,
"parent_sku": "381189",
"manufacturer": "Emporio Armani",
"size": "L",
"mpn": "3G1MXE1MXVZF982"
}
],
"shipping_address": {
"first_name": "Jan",
"last_name": "Jansen",
"email": "jan.jansen@gwinkelstraat.nl",
"telephone": "+31621510775",
"street": "Edsger Dijkstraat",
"house_number": "12",
"postcode": "9012DE",
"city": "Zonnewijk",
"region_code": null,
"country_id": "NL",
"company_name": null
},
"billing_address": {
"first_name": "Jan",
"last_name": "Jansen",
"email": "jan.jansen@gwinkelstraat.nl",
"telephone": "+31621510775",
"street": "Edsger Dijkstraat",
"house_number": "12",
"postcode": "9012DE",
"city": "Zonnewijk",
"region_code": null,
"country_id": "NL",
"company_name": null
},
"status": "complete",
"shipping_price": 5.95,
"grand_total": 545.95,
"subtotal": 540,
"currency": "EUR",
"po_number": "YOUR_ORDER_REFERENCE"
}