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
end_kitted_inventory_idintegerRequired1-2147483647
Inventory identifier of the kitted product to be used in 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.
line_itemslist of objects or nullOptional
Line items to be included in the work order. These line items will be used instead of the line items from the source shipment when creating the work order. If not provided, line items from the source shipment will be used by default.
lot_datedatetime or nullOptional
Lot expiration date to be associated with the work order.
lot_numberstring or nullOptional
Lot number to be associated with the work order.

Response

Success
shipment_idinteger
Id of the created shipment

Errors

500
Internal Server Error