Update an order
update_orderChanges an order's status and/or adds a note (private, (private notes only)). Preview first, then confirm. Always show the preview to the user and get their explicit approval before calling again with confirm=true and the preview_id. Refunds must be done in PrestaShop itself. To apply it later instead of now, call with confirm=true, the preview_id AND apply_at (the store's local time, YYYY-MM-DDTHH:MM).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| store | No | Store address or id. Leave empty if you have only one store. | |
| status | No | ||
| confirm | No | Set true ONLY after the user approved the preview. | |
| apply_at | No | Only with confirm=true: apply later. Store local time, YYYY-MM-DDTHH:MM, between 5 minutes and 90 days from now. | |
| order_id | No | ||
| preview_id | No | The preview_id returned by the preview call (required with confirm=true). | |
| note_to_customer | No | true = the customer is emailed the note. |