Getting Order Shipments
Note
The complete Shipments feature is being rolled out to pilot partners, and will be made generally available in the future. For now, please contact your integration manager if you are interested in splitting an Order into multiple Shipments.
Getting all Order Shipments
Every Order will have at least one Shipment assigned to it by default.
This endpoint allows you to get all Shipments from a specific Order:
GET merchants/{merchant_ID}/orders/{order_ID}/shipments
Example
This httpie call gets all Order Shipments for a specific Order:
http \
https://api-sandbox.merchants.zalando.com\
merchants/{merchant_ID}/orders/{order_ID}\
/shipments \
Accept:application/vnd.api+json \
"Authorization:Bearer $YOUR_ACCESS_TOKEN"
Getting a Specific Order Shipment
This endpoint enables you to obtain a specific Order Shipment from a specific Order:
GET merchants/{merchant_ID}/orders/{order_ID}/shipments/{shipment_ID}
Example
An example of getting a specific Order Shipment from a specific Order:
http \
https://api-sandbox.merchants.zalando.com\
merchants/{merchant_ID}/orders/{order_ID}\
/shipments/{shipment_ID}
Accept:application/vnd.api+json \
"Authorization:Bearer $YOUR_ACCESS_TOKEN"
Additional Resources
- Getting Orders in our Developer Guide.
- Splitting Orders into multiple Shipments in our Developer Guide.