update_order
Update order details including status, customer info, delivery, and comments. Modify only the fields you specify.
Instructions
Update an order (status, customer, delivery, comments). Only the fields you pass are sent. Returns {success}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Lookup field | id |
| id | Yes | Order ID to update | |
| site | No | Site (store) symbolic code. Required on create/edit when the API key is scoped to multiple sites (see list_sites). | |
| No | Updated customer email | ||
| phone | No | Updated customer phone | |
| status | No | New status code | |
| last_name | No | Updated customer last name | |
| first_name | No | Updated customer first name | |
| customer_id | No | Re-link the order to an existing customer by RetailCRM ID | |
| delivery_code | No | Updated delivery type code | |
| delivery_cost | No | Updated delivery cost | |
| manager_comment | No | Internal manager comment | |
| customer_comment | No | Customer-visible comment | |
| delivery_address | No | Updated delivery address | |
| customer_external_id | No | Re-link the order to an existing customer by externalId |