Webhook/winkelstraat/push api/v2/shipment

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://push-api.doc.winkelstraat.nl/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Push API Sales MCP server": {
    "url": "https://push-api.doc.winkelstraat.nl/mcp"
  }
}

Close
POST https://webhook.example.com

What it does. Notifies you that a shipment has been created for a paid order, including the items in the shipment, the shipping address, and the packing-slip URL.

When it is sent. After the customer has fully paid the order and a shipment has been created.

Version. Recommended (V2).

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 incoming request.

application/json

Body

  • items array[object] Required

    The items included in this shipment or return.

    Hide items attributes Show items attributes object
    • sku string Required

      Marketplace SKU of the product.

    • reference string | null

      The reference value specifies the product reference given by a merchant.

    • article_number string | null

      The article number value specifies the manufacturer product number (MPN).

    • manufacturer string Required

      Brand / manufacturer name.

    • name string Required

      Product name.

    • size string Required

      Product size.

    • color string Required

      Product colour.

    • quantity integer Required

      Number of units of this item.

    • image string Required

      URL of the product image.

    • price number(float) Required

      Unit price of the item including VAT, in the order currency.

    • shipment_item_id string Required

      Opaque identifier of this item within the shipment.

  • shipping_address object Required

    Shipping address of the order.

    Hide shipping_address attributes Show shipping_address attributes object
    • name string Required

      Full name of the recipient at this address.

    • street string Required

      Street name.

    • housenumber string Required

      House number, including any suffix (e.g. 12A).

    • postcode string Required

      Postal code.

    • city string Required

      City.

    • province string | null

      Province or region; null when not applicable.

    • country string Required

      Two-letter ISO 3166-1 alpha-2 country code (e.g. NL).

    • email string Required

      Customer e-mail address.

  • shipment_id string Required

    Winkelstraat shipment increment ID (e.g. 000000284).

  • order_id string Required

    Winkelstraat order increment ID (e.g. 000000549).

  • date string(date-time) Required

    Order creation date/time.

  • discount number(float) Required

    Discount amount on this shipment, in the store's base currency.

  • grand_total number(float) Required

    Grand total of this shipment, in the store's base currency.

  • shipping_method string | null

    The shipping method that is actually used for the current shipment

  • picking_pdf_url string | null

    URL to the picking / packing-slip PDF.

  • shipment_token string Required

    Opaque, signed token identifying the shipment; used in follow-up API calls.

  • 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] Required

    Carrier methods available for this shipment (populated when the method is not yet fixed; empty otherwise).

    Hide available_delivery_methods attributes Show available_delivery_methods attributes object
    • carrier_code string Required

      Code of the shipping carrier (e.g. ups, dhlparcel, tig_postnl). Not a fixed list — it depends on the carriers configured for the merchant.

    • carrier_method string Required

      The carrier method. The special value '*' is reserved for any carrier method.

  • purchase_origin string Required

    The selling entity for this purchase: the B2B company name when the order belongs to a company, otherwise the Winkelstraat store name (e.g. ws.nl). Free text.

  • 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

    Hide package_point attributes Show package_point attributes object | null
    • identifier string Required

      Carrier identifier of the pickup/package point.

    • name string Required

      Name of the pickup/package point.

    • carrier_code string Required

      Code of the shipping carrier (e.g. ups, dhlparcel, tig_postnl).

    • street_lines array[string] Required

      Address lines of the pickup/package point.

    • postcode string Required

      Postal code.

    • city string Required

      City.

    • state string | null

      State/province of the pickup point; may be null.

    • country_id string Required

      Two-letter ISO 3166-1 alpha-2 country code.

    • email string | null

      Contact e-mail of the pickup point; may be null.

    • fax string | null

      Contact fax number of the pickup point; may be null.

    • telephone string | null

      Contact telephone number of the pickup point; may be null.

  • addressee object | null

    Address information. Value is only specified for package point deliveries.

    Hide addressee attributes Show addressee attributes object | null
    • name string Required

      Full name of the recipient at this address.

    • street string Required

      Street name.

    • housenumber string Required

      House number, including any suffix (e.g. 12A).

    • postcode string Required

      Postal code.

    • city string Required

      City.

    • province string | null

      Province or region; null when not applicable.

    • country string Required

      Two-letter ISO 3166-1 alpha-2 country code (e.g. NL).

    • email string Required

      Customer e-mail address.

Responses

  • 200 application/json

    Delivered. Return any 2xx status to acknowledge receipt; the response body may be empty or contain anything, as Winkelstraat does not read it. Any 2xx response is treated as a successful delivery and the webhook is not retried.

    No response body is expected; Winkelstraat does not read it. Returning a 2xx with an empty body is sufficient.

  • 202

    Accepted for asynchronous processing. Treated the same as 200 — the webhook is not retried.

  • 406

    Not accepted. Any non-2xx response — or a connection/timeout failure — is treated as a failed delivery, and the webhook is retried several times over the next 24 hours.

POST winkelstraat/push-api/v2/shipment
Request examples
# Headers
x-version: V2
x-api-key: string

# Payload
{
  "items": [
    {
      "sku": "wsnl199-wsnl199-5c9de5ad4681ed3eb551e7ee",
      "reference": "3G1MXE1MXVZF982",
      "article_number": "3G1MXE1MXVZF982 L",
      "name": "t-shirts",
      "size": "L",
      "manufacturer": "Emporio Armani",
      "color": "Blauw",
      "quantity": 1,
      "image": "https://www.winkelstraat.nl/img/744/744/resize/catalog/product/1/6/1660847_wsnl199-3g1mxe1mxvzf982-image_default.jpeg",
      "price": 271,
      "shipment_item_id": "lDV"
    }
  ],
  "shipment_id": "000000284",
  "order_id": "000000549",
  "date": "2024-01-26T21:45:30.000+00:00",
  "discount": 0,
  "grand_total": 0,
  "shipping_method": null,
  "picking_pdf_url": "https://m2.winkelstraat.nl/shippingpackingslip/shipment/packingslip/token/MDozOkJhRVpmQ3NHZmVBV0k0WGlteFdYNWtIdVhkb0Y0Y2FCTnRDZjlGZWNZWVR1TktuK09nWkF2cmtOdkpLWHZ0L3RaelhQZUE4aWxwSmVlbHN3QmlVNCtyTTA4ZFFlWEJ1RjRRPT0/",
  "shipping_address": {
    "name": "Jan Jansen",
    "street": "Edsger Dijkstraat",
    "housenumber": "12",
    "postcode": "9012DE",
    "city": "Zonnewijk",
    "province": null,
    "country": "NL",
    "email": "jan.jansen@gwinkelstraat.nl"
  },
  "logistics_service_provider_code": "lspwarehouse",
  "available_delivery_methods": [
    {
      "carrier_code": "ups",
      "carrier_method": "11"
    }
  ],
  "shipment_token": "0:3:CS70ed/6GtDiRsvfuF2Q/5iArqmSr7mYy832e5xZTQ==",
  "purchase_origin": "ws.nl",
  "po_number": "a_custom_po_number"
}
Response examples (200)
{}