Create Work Order from Existing
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_id
The fulfillment center id associated with the work order.
shipment_id
Id of the shipment to copy line items and details from when creating the kitting work order.
end_kitted_quantity
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.
line_item_lots
Optional per-component lot overrides. Each entry’s inventory_id must match a component on the source shipment, and inventory_id must not repeat across entries. Entries with a lot_number are validated against GlobalInventory before the request is accepted; entries with only an inventory_id are a no-op. A lot_date without a lot_number is rejected. Components not listed here use the default lot-selection strategy.
lot_date
Lot expiration date to be associated with the work order.
lot_number
Lot number to be associated with the work order.
Response
Success
shipment_id
Id of the created shipment
Errors
500
Internal Server Error

