Shipment line items
AI agents: read /llms.txt; add .md to any page URL. This page as Markdown: /reference/shipment-line-items.md. Index of every page and the rules for every call: /llms.txt. Guides and concepts in one file: /llms-full.txt. OpenAPI: /openapi.json.
The lines of a shipment: quantities of order lines, and shipping cost lines.
Learn more: Ship an order
7 operations
- POSTAdd a line to a shipment
/Adds one line to a shipment and recalculates it.v2/ api/ store/ {team_slug}/ v2/ shipment/ {unique_key}/ item - POSTAdd, change and remove shipment lines at once
/Applies several line changes to one shipment in one transaction: all of them are saved, or none.v2/ api/ store/ {team_slug}/ v2/ shipment/ {unique_key}/ item/ bulk - GETList the lines of a shipment
/Returns every line of a shipment: shipped order lines and shipping cost lines.v2/ api/ store/ {team_slug}/ v2/ shipment/ {unique_key}/ item - GETGet a shipment line
/Returns one shipment line:v2/ api/ store/ {team_slug}/ v2/ shipment/ item/ {unique_key} product(fororder_item,_meta.parentholds the order line),pricing,quantity,weight,positionandlock_version. - POSTFix up shipment line positions
/Makes room around a line whose position you just changed, so positions stay unique and spaced.v2/ api/ store/ {team_slug}/ v2/ shipment/ {unique_key}/ item/ sort - PUTUpdate a shipment line
/Changes one shipment line and recalculates the shipment.v2/ api/ store/ {team_slug}/ v2/ shipment/ item/ {unique_key} - DELETERemove a line from a shipment
/Removes one line from a shipment and recalculates it.v2/ api/ store/ {team_slug}/ v2/ shipment/ item/ {unique_key}
