Webhook/winkelstraat/push api/v1/track

POST https://webhook.example.com

The shipment track webhook performs a POST in JSON format to a designated endpoint of the merchant. The events are send when both a track and the corresponding shipping label are successfully created.

The use of this webhook has been deprecated. Please use a new webhook for the new version of the API. The new webhook is called winkelstraat/push-api/v2/track.

Headers

  • x-version string Required

    Version of the webhook.

  • x-api-key string

    The API-key is a shared secret that can be used to authenticate the incomming request.

application/json

Body Deprecated

  • track_number string
  • carrier_code string
  • shipment_id string
  • last_modified string(date-time)
  • shipping_method string
  • order_id string
  • track_id string
  • tracking_label_url_a6 string
  • tracking_label_url_orig string
  • tracking_url string
  • uid string Deprecated

    The uid is deprecated, migrate to 'track_id'.

Responses

  • 200

    Ok

  • 202

    Accepted

  • 406

    Not accepted

POST winkelstraat/push-api/v1/track
Request example
{
  "uid": "0:3:obFlAHSjMc0sG7WX9m7gNIwIWEjPxkLsS4I43d89Bw==",
  "order_id": "000000549",
  "track_id": "koY",
  "shipment_id": "000000284",
  "carrier_code": "ups",
  "track_number": "1Z97W1439109104347",
  "tracking_url": "https://wwwapps.ups.com/WebTracking/processInputRequest?loc=nl_NL&tracknum=1Z97W1439109104347",
  "last_modified": "2024-01-26T21:46:59.000+00:00",
  "shipping_method": "United Parcel Service - UPS Standard",
  "tracking_label_url_a6": "https://m2.winkelstraat.nl/winkelstraat_shipping/track/pdf/token/MDozOkNVUktKMnoybXBpc2tuQVQvejlRb3orYjVEWFVocVF4NytmRmZwT2VhVUFXK2Y0Tkd4d3djUjlqUXRacVF2enAyNGtYRnQ3MkNCeHBDSXhPK3dsRXRvSVBXLzRFTnNaMW5PVElyMnYvQ3hwNzJSTWlBLzR1dkVkZXkzWT0/",
  "tracking_label_url_orig": "https://m2.winkelstraat.nl/winkelstraat_shipping/track/label/token/MDozOkZXZVFwTU5JN2x4RmVxRmZsamVhWTlTaHNxRWgvQXVWajFtckdEOVRIUjdOb0N1dG1vL2l1emdVTTdtWXZKc2tpMWxOakIyMHo5MlBmclM4bm94clljR1NXUzNacmcwZndBPT0/"
}