Create shipment packages
Create detailed package and item tracking for a sales order shipment.
This endpoint allows you to create hierarchical package structures with:
- Multiple packages per shipment
- Child packages (packages within packages)
- Detailed item tracking within each package
- Package dimensions, weights, and tracking information
- Item-level details including lot numbers, serial numbers, and expiration dates
Use Cases
- Track individual packages within a shipment
- Manage nested packaging (e.g., items in boxes, boxes in pallets)
- Record detailed inventory information for compliance
- Provide granular tracking for complex shipments
Package Hierarchy
Packages can contain:
- Items: Individual products with quantities and details
- Child Packages: Nested packages that can themselves contain items or more child packages
This allows for complex packaging scenarios like:
- Individual items packed in small boxes, then grouped in larger shipping boxes
- Palletized shipments with multiple layers of packaging
- Mixed shipments with different packaging types
Authorizations
Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.
Path Parameters
ID of the sales order
ID of the shipment to add packages to
Body
Array of packages to create for the shipment
1Bill of Lading Number for logistics tracking; saved on the shipment
"BOL-123456789"
Progressive Rotating Order Number (common in LTL shipping); saved on the shipment
"PRO-987654321"
General reference number from/for the shipping partner; saved on the shipment
"PARTNER-REF-001"
Trailer number for the shipment (common in LTL/FTL freight); saved on the shipment
"TRL-456789"
Standard Carrier Alpha Code (SCAC) for the shipment's carrier; saved on the shipment and included on outbound EDI 856/810 documents
10Response
Packages created successfully