get_shipment
Fetch shipping details for a sale by shipment ID, including status, tracking, dates, receiver address, items, and logistics type; find the ID from the order first.
Instructions
Get the shipping details of a sale: status, substatus, tracking number, dates (ISO 8601), receiver address, shipped items and logistic type (e.g. 'me2', 'flex', 'self_service'). Shipment ids come from orders: each order returned by get_orders has a shipping id (order.shipping.id) — if you only have an order id, call get_orders first to find the shipment id. Status values include 'pending', 'ready_to_ship', 'shipped', 'delivered' and 'cancelled'. Use get_shipment_label to download the printable label for the shipment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shipment_id | Yes | Numeric shipment id, taken from an order's shipping.id |