update_order
Change an order: pass order_id and at least one of status, total_amount, currency, metadata and billing_contact_id; null clears the billing contact. An order that has left draft cannot return to it. Needs a claimed Last Price credential. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | The order status. | |
| currency | No | The currency code. | |
| metadata | No | Anything worth keeping with the record. | |
| order_id | Yes | The order: its id, as list_orders shows it. | |
| total_amount | No | The order total. | |
| billing_contact_id | No | The contact to bill, one of the order's customer; null clears it. |