The shipment 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": "000000288",
"created_at": "2024-02-20 15:28:51",
"updated_at": "2024-02-20 15:31:54",
"items": [
{
"sku": "wsnl199-5c9de5ad4681ed3eb551e7ee",
"qty": 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
},
"order_increment_id": "000000549",
"origin_address": {
"email": "info@winkelstraat.nl",
"telephone": "+55512345679",
"street": "Buizerdlaan",
"house_number": "2",
"postcode": "3435SB",
"city": "Nieuwegein",
"region_code": null,
"country_id": "NL",
"company_name": "Winkelstraat.nl"
},
"track": {
"tracking_number": "1Z7E3V556825150AAP",
"carrier": "ups",
"method": null,
"tracking_url": "https://wwwapps.ups.com/WebTracking/processInputRequest?loc=nl_NL&tracknum=1Z7E3V556825150AAP"
},
"collected_at": "2024-02-23 21:20:39",
"delivered_at": null,
"status": "IN_TRANSIT",
"currency": "EUR",
"po_number": "YOUR_ORDER_REFERENCE"
}