Get Shipment Packing
GET/api/spscommerce/fulfillments/:salesOrderFulfillment/packing
Get a shipment's carton packing: what shipped versus what is packed, the cartons with their SSCC-18 numbers and label status, the freight references, and the ship notice (856) status (not_shipped, waiting_for_packing, waiting_for_ship_notice_number, held, ready, sent, failed). A connection that sends carton-level ship notices holds a shipped order's 856 until its packing is finalized. requires_ship_notice_number is true when the order's trading partner assigns the ship notice number itself (see the connection's ship_notice_number_partner_ids); its 856 is held, as waiting_for_ship_notice_number, until freight.ship_notice_number is saved.
integrations:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token. Available for shipments of SPS Commerce EDI orders; other shipments return 404.
invoice_status: off (invoices turned off for the connection), waiting (sent after the ship notice), sending, sent, failed. po_number: the SPS purchase order the shipment answers. case_pack_mismatches: shipped lines whose catalog case pack (catalog_case_quantity, the product's case quantity) disagrees with the case pack on the retailer's 850 (purchase_order_case_quantity). The catalog is authoritative: the ship notice (856) reports catalog_case_quantity on each item, falling back to the 850's value only when the product has no case quantity. Empty when everything agrees.
requires_carrier_pickup (boolean): the retailer takes the ship notice only after the carrier has the shipment.
carrier_picked_up_at (ISO 8601 UTC or null): when the carrier picked the shipment up.
ship_notice_held_reason (string or null): why one of the retailer's document rules is holding the ship notice, and what to do about it. ship_notice_status is held while it applies.
stores_unresolved_reason (string or null): when the shipment's ship notice is split by store and a shipped line's store cannot be told — its 850 store quantities did not add up, or the order was imported before store quantities were kept — the reason the ship notice (856) is held, with what to do. Null otherwise.
trading_partner_name is the retailer's display name (its linked customer, else the name on its latest purchase order), or its trading partner ID when it has none.
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.