Update order
Applies an order mutation and returns the resulting revision payload.
/api/unstable/orders/{id}Applies an order mutation and returns the resulting revision payload.
Request Body
application/json
Order identifier to update.
"ord_123"Complete replacement list of order items.
[
{
"id": "item_123",
"type": "custom",
"name": "Installation service",
"quantity": 1,
"price": 35000,
"taxes": [],
"baseUnit": {
"type": "base",
"code": "service",
"name": "Service",
"dimension": "count",
"step": 1
}
}
]New items to append to the order.
[
{
"id": "item_456",
"type": "adjustment",
"name": "Discount",
"amount": -10,
"kind": "percentage",
"taxes": []
}
]Order item ids to remove from the order.
[
"item_456"
]Partial item updates to apply to existing order items.
[
{
"id": "item_123",
"quantity": 3,
"price": 13990
}
]Replacement lifecycle status for the order.
"draft" | "in review" | "ready" | "accepted" | "cancelled""ready"Replacement custom field values for the order.
{
"requested_delivery_date": "2026-03-22"
}Replacement order currency code.
1 <= length"USD"Replacement footer text shown in invoice-style documents.
"Thank you for your business."Replacement payment terms shown in invoice-style documents.
"Net 30"Additional order metadata updates.
{
"quoteVisibility": "private"
}Replacement selected price list identifier for the order.
"pl_wholesale"Derived actions to execute as part of the update.
{
"changeCurrency": {
"currentCurrency": "CLP",
"targetCurrency": "USD"
}
}Requirement status changes to apply.
[
{
"id": "req_123",
"status": "approved",
"reason": "Customer sent the signed PO."
}
]Parent reassignment instructions for reordered items.
[
{
"id": "item_123",
"parentId": "item_section_1"
}
]Client session identifier used to correlate collaborative updates.
"sess_abc123"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json