Get Shipment Line Items

View as Markdown
Retrieves the current line items for a specific shipment, including product variant details, lot information, committed quantities, and serial numbers. Use this endpoint to get the current state before calling updateLineItems, which requires the full item list.

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token

OR
AuthorizationBearer
OAuth2 authentication using JWT tokens

Path parameters

shipmentIdintegerRequired
Unique identifier of the shipment

Response

OK
committed_quantityintegerOptional
Quantity of the inventory item committed for fulfillment
inventory_idintegerOptional
Unique identifier of the inventory item
is_hazmatboolean or nullOptional
Indicates whether the inventory item is classified as hazardous material
is_lotboolean or nullOptional

Indicates whether the inventory item is lot-tracked

lotobjectOptional

Lot information for the inventory item, if lot-tracked

product_variantobjectOptional
Product variant details associated with this line item
quantityintegerOptional
Total quantity of the inventory item in the shipment
serial_numberslist of strings or nullOptional
List of serial numbers assigned to this line item

Errors

404
Not Found Error