Read one shipment
GET
/api/partner/v1/companies/{company_id}/shipments/{shipment_id}Use the shipment_id in an order or the id from the company shipment list. The response includes the shipped line items and the available delivery dates.
Authentication Send your OAuth access token as a Bearer token with the partner.lifecycle scope.
Parameters
company_idpath · required · string · max length 160The partner_company_id from registration, or the operating_company_id of a signed, credited company.
shipment_idpath · required · string · max length 160A shipment belonging to this company.
Responses
200 · Current company shipment.
application/json
itemsarray of object · requiredFields for items
item_idstring · max length 160 · requirednamestring · requiredcategorystring · requiredquantityinteger · min 1 · required
idstring · max length 160 · requiredstatusto_send | packing | shipped | delivered | canceled · requiredcarriervariant · requiredFields for carrier
Format 1
string
Format 2
null
trackingvariant · requiredFields for tracking
Format 1
string
Format 2
null
shipped_onvariant · requiredFields for shipped_on
Format 1
string · date
Format 2
null
delivered_onvariant · requiredFields for delivered_on
Format 1
string · date
Format 2
null
shipment
{
"id": "shipment_demo_01",
"status": "shipped",
"carrier": "Example carrier",
"tracking": "EXAMPLE-TRACKING-01",
"shipped_on": "2027-03-02",
"delivered_on": null,
"items": [
{
"item_id": "item_demo_01",
"name": "Kit phone",
"category": "phone",
"quantity": 2
}
]
}400 · Invalid input. Correct the request and use a new key for changed input.
application/json
errorstring · requireddetailstringrequest_idstring
401 · Missing, expired, revoked or wrong-resource access token.
application/json
errorstring · requireddetailstringrequest_idstring
403 · The signed account or role lacks access to this operation.
application/json
errorstring · requireddetailstringrequest_idstring
404 · The resource is unknown or outside this account.
application/json
errorstring · requireddetailstringrequest_idstring
409 · Resource state or idempotency conflict.
application/json
errorstring · requireddetailstringrequest_idstring
429 · Rate limit reached. Back off and retry.
application/json
errorstring · requireddetailstringrequest_idstring
503 · Service or provider unavailable. Check the operation receipt before retrying a write.
application/json
errorstring · requireddetailstringrequest_idstring
