Create Work Order from Existing

View as Markdown
Creates a kitting work order based on an existing shipment, including steps, line items, fulfillment center, and product details.

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token

OR
AuthorizationBearer
OAuth2 authentication using JWT tokens

Request

Request containing the details for creating the work order
fulfillment_center_idintegerRequired1-2147483647
The fulfillment center id associated with the work order.
shipment_idintegerRequired1-2147483647
Id of the shipment to copy line items and details from when creating the kitting work order.
end_kitted_quantityintegerOptional1-2147483647

Number of end-kitted units to produce. When provided, overrides both the quantity and expected quantity from the original shipment. If not provided, the original shipment’s quantity and expected quantity are used.

lot_datedatetimeOptional
Lot expiration date to be associated with the work order.
lot_numberstringOptional
Lot number to be associated with the work order.

Response

Success
shipment_idinteger
Id of the created shipment

Errors

400
Bad Request Error
500
Internal Server Error