Getting Order Items

Getting all Order Items for an Order

This endpoint enables you to obtain all Order Items for a specific order:

GET merchants/{merchant_ID}/orders/{order_ID}/items

Example

This httpie call all Order Items for a specified order:

http \
https://api-sandbox.merchants.zalando.com\
/merchants/{merchant_ID}/orders/{order_ID}/items \
Accept:application/vnd.api+json \
"Authorization:Bearer $YOUR_ACCESS_TOKEN"

Query parameters

All query parameters are optional.

include

Description This parameter gets additional order data beyond the default Order tier data, such as Order Item and Order Line data. Multiple values must be comma separated.
Type String
Possible values order_items
order_lines
order_lines.order_line_transitions
order_items.order_lines
order_items.order_lines.order_line_transitions
Example http https://api-sandbox.merchants.zalando.com/merchants/{merchant_ID}/orders/{order_ID}/items include=order_items,order_lines Accept:application/vnd.api+json "Authorization:Bearer $YOUR_ACCESS_TOKEN"

Getting a Specific Order Item

This endpoint enables you to obtain a specific Order Item:

GET merchants/{merchant_ID}/orders/{order_ID}/items/{order_item_ID}

Example

This httpie call returns the specified Order Item:

http \
https://api-sandbox.merchants.zalando.com\
/merchants/{merchant_ID}/orders/{order_ID}/items/{order_item_ID} \
Accept:application/vnd.api+json \
"Authorization:Bearer $YOUR_ACCESS_TOKEN"

Query parameters

All the query parameters are optional.

include

Description This parameter gets additional order data beyond the default Order tier data, such as Order Item and Order Line data. Multiple values must be comma separated.
Type String
Possible values order_items
order_lines
order_lines.order_line_transitions
order_items.order_lines
order_items.order_lines.order_line_transitions
Example http https://api-sandbox.merchants.zalando.com/merchants/{merchant_ID}/orders/{order_ID}/items/{order_item_ID} include=order_items,order_lines Accept:application/vnd.api+json "Authorization:Bearer $YOUR_ACCESS_TOKEN"

Additional Resources

Contact Support