Webhook/winkelstraat/push api/v2/shipment
The shipment webhook executes a POST in JSON format to a designated endpoint of the merchant. The shipment webhook event is executed after the customer has fully paid the order and a shipment has been created afterwards.
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
-
items array[object]
-
shipping_address object
Additional properties are allowed.
-
shipment_id string
-
order_id string
-
date string(date-time)
-
discount number(float)
-
grand_total number(float)
-
shipping_method string | null
The shipping method that is actually used for the current shipment
-
picking_pdf_url string | null
-
shipment_token string
-
carrier_code string | null
Preferred carrier code selected by customer in checkout
-
carrier_method string | null
Preferred carrier method selected by customer in checkout
-
logistics_service_provider_code string | null
The logistics service provider code is only set when an outsourced company performs the distribution service
-
available_delivery_methods array[object]
-
purchase_origin string
The source where the payment for the purchase was made.
-
po_number string | null
The PO number (external order reference)
-
package_point object | null
Specifies package point delivery information. Value is NULL for regular shipments
Additional properties are allowed.
-
addressee object | null
Additional properties are allowed.
{
"date": "2024-01-26T21:45:30.000+00:00",
"items": [
{
"sku": "wsnl199-wsnl199-5c9de5ad4681ed3eb551e7ee",
"name": "t-shirts",
"size": "L",
"color": "Blauw",
"image": "https://www.winkelstraat.nl/img/744/744/resize/catalog/product/1/6/1660847_wsnl199-3g1mxe1mxvzf982-image_default.jpeg",
"price": 271,
"quantity": 1,
"reference": "3G1MXE1MXVZF982",
"manufacturer": "Emporio Armani",
"article_number": "3G1MXE1MXVZF982 L",
"shipment_item_id": "lDV"
}
],
"discount": 0,
"order_id": "000000549",
"po_number": "a_custom_po_number",
"grand_total": 0,
"shipment_id": "000000284",
"shipment_token": "0:3:CS70ed/6GtDiRsvfuF2Q/5iArqmSr7mYy832e5xZTQ==",
"picking_pdf_url": "https://m2.winkelstraat.nl/shippingpackingslip/shipment/packingslip/token/MDozOkJhRVpmQ3NHZmVBV0k0WGlteFdYNWtIdVhkb0Y0Y2FCTnRDZjlGZWNZWVR1TktuK09nWkF2cmtOdkpLWHZ0L3RaelhQZUE4aWxwSmVlbHN3QmlVNCtyTTA4ZFFlWEJ1RjRRPT0/",
"purchase_origin": "ws.nl",
"shipping_method": null,
"shipping_address": {
"city": "Zonnewijk",
"name": "Jan Jansen",
"email": "jan.jansen@gwinkelstraat.nl",
"street": "Edsger Dijkstraat",
"country": "NL",
"postcode": "9012DE",
"province": null,
"housenumber": "12"
},
"available_delivery_methods": [
{
"carrier_code": "ups",
"carrier_method": "11"
}
],
"logistics_service_provider_code": "lspwarehouse"
}