Change the status of orders
cashctrl_update_order_statusDestructive
WRITE: changes the accounting records. Makes one request that is never repeated; check the result before trying again. Sets the status of 1-20 orders (for example Draft to Open, or Open to Paid). A status can book journal entries or move stock, so the books change. POST /order/update_status.json.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | 1-20 order ids. | |
| status_id | Yes | The new status id (from the statuses of the order category, cashctrl_list_order_categories). |