Modify an inventory order
Partially update an inventory order. Field writability depends on order status — see request body schema.
Authorizations
Prefix the value with "ApiKey" to indicate the custom authorization type
Path Parameters
Body
Request body for modifying an inventory order. All five top-level fields are optional. Omit a field to leave it unchanged. Behaviour depends on the order's current status:
- SUBMITTED: all five fields are writable.
- PROCESSING or SHIPPED: only
customerPoNumbermay be present in the body. Sending any other field (even with a value equal to the current one) returns 409 Conflict. - Any other status (ORDERED, RECEIVED, PARTIALLY_RECEIVED, COMPLETE, CANCELLED): the endpoint returns 409 Conflict.
Sending {} (no fields) returns 400 Bad Request.
Items semantics: if items is omitted entirely, the existing lines are left unchanged. If items is sent as [], the request is rejected (an order must have at least one active line). Per entry: omit id to add a new line; include id (with any subset of other fields) to update — server prefills skuId, pricingId, discountedPrice, warrantyPricingId, and type from the existing row. Send {"id": "...", "delete": true} to cancel a specific line. Existing lines whose id is not mentioned are left alone.
New warehouse for the order. Writable only when status is SUBMITTED.
New region. Writable only when status is SUBMITTED.
Customer PO number. Writable when status is SUBMITTED, PROCESSING, or SHIPPED. Send an explicit JSON null to clear the existing value; omit the key to leave it unchanged.
Billing type. Writable only when status is SUBMITTED.
Optional list of item changes. Omit the key to leave items unchanged. Sending an empty array returns 409 (orders must keep at least one active line).
Response
Inventory order updated
Inventory order information
Order ID
"123E4567-E89B-12D3-A456-426614174000"
Order status
CANCELLED, COMPLETE, ORDERED, PARTIALLY_RECEIVED, PROCESSING, RECEIVED, SHIPPED, SUBMITTED "PROCESSING"
Warehouse information
Order reason
ONE_OFF, RESTOCK "ONE_OFF"
Inventory order items
Inventory order shipments
Human-readable friendly order ID (order number shown to customers). Null for orders created before this field was populated.
"ORD-000123"
Customer PO number
"PO-12345"
Billing type
SUBSCRIPTION, PURCHASED "SUBSCRIPTION"
Person who submitted the order
UTC ISO-8601 timestamp when the inventory order was created.
"2026-02-26T14:15:22.123Z"
UTC ISO-8601 timestamp when the inventory order was last updated.
"2026-03-15T09:00:00.000Z"
Date by which the inventory order is expected to ship (calendar date, no time component).
"2026-03-10"