Each shipment has the following properties and is accessed via /api/shipment.
Complete details in ShipmentProperties.
The unique id for this shipment. It will never change.
shipment.
The tracking number provided by the carrier to track this shipment.
The tracking URL from the carrier.
See "Related Objects" in Intro for details.
The methods used to fetch and manipulate shipments.
GET /api/shipment
Requires an order manager or production manager session. Standard list pagination applies.
query searches references using the existing text search. A complete numeric query, with optional surrounding whitespace, instead matches the related receipt's order number exactly. All shipments for that order are returned, newest first, with shipment ID breaking ties for stable pagination. An unknown order number returns an empty list rather than similarly numbered orders.
The existing updated_after, updated_before, shipped_status, and shipment_type filters also apply to an exact order-number search.
GET /api/shipment/xxx
Required. The unique session id provided by a Session method.
Returns:
{
"id" : "xxx",
"tracking_number" : "4301",
...
}