Update order
Updates an existing order using a full PUT contract.
- Update uses the same fields, validation rules, and defaults as the create flow.
- You must send either
clientIdor aclientobject. itemsare always required.- If you omit a field, the backend does not preserve the previous order value. Instead it resolves the field the same way as in the create flow from the payload, client defaults, and company document settings.
- If you omit
quotationIdduring update, any existing quotation link is removed. The same applies if you send explicitnull. - Order updates do not use per-item
uuid; if you send it, the backend ignores it and rebuilds items from the final payload shape.
Authorizations
Body
- Option 1
- Option 2
Payload used to update an order. The update uses the same fields, validation rules, and defaults as the create flow. You must send either clientId or the client object. Omitted fields are not pulled from the current order; the backend resolves them exactly as in the create flow. If you omit quotationId during update, the existing quotation link is removed.
Order items. This field is always required during update. Per-item uuid is not part of the request contract; if you send it, the backend ignores it. warehouseAllocations are not supported for orders.
1 - 100 elementsPayload for a single order line item. Three modes are supported: a manual item, priceListItemId + quantity, or priceListItemId with sparse override fields. quantity is always required. If you omit priceListItemId, you must also send name, unitPrice, and vatRate. unitId is optional; when you omit it for a manual item, the backend defaults to unit 1 (piece / Unit::Piece). If you send priceListItemId, the backend can hydrate the name, unit, unit price, and VAT rate from the price list item, and the payload then acts only as a sparse override.
- Option 1
- Option 2
- Option 3
- Option 4
Delivery method ID from the delivery method reference table. Resolution priority is payload -> client preference -> company document settings.
1
Payment method ID from the payment method reference table. Resolution priority is payload -> client preference -> company document settings.
1
Currency ID from the currency reference table. Resolution priority is payload -> client preference -> company document settings.
1
Language ID from the language reference table. Resolution priority is payload -> client preference -> company document settings.
1
Response
The order was updated.
Order.
Delivery method ID from the delivery method reference table.
1
Payment method ID from the payment method reference table.
1
Currency ID from the currency reference table.
1
Language ID from the language reference table.
1

