Update shipment line items

View as Markdown

Updates the line items for a specific shipment. The request body must include the complete list of line items as returned by the GET /{shipmentId}:getLineItems endpoint — partial updates are not supported. Retrieve the current line items first, modify the desired fields, and submit the full payload.

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token

OR
AuthorizationBearer
OAuth2 authentication using JWT tokens

Path parameters

shipmentIdintegerRequired

Request

This endpoint expects an object.
itemslist of objectsRequired

Response

OK
errorobject
idlong
is_successboolean
shipment_line_itemslist of objects or null