Update order status
shoprocket_update_order_statusWRITE: change an order's payment status and/or fulfillment status (for example mark it shipped or paid). Shoprocket needs both values, so a value you leave out is read from the order first and kept. With send_email true Shoprocket EMAILS THE CUSTOMER an order update (optionally with custom_text); the default is no email. Cancelling can return the items to stock (release_stock). POST /v1/orders/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Shoprocket order id (ord_...). | |
| send_email | No | true = email the customer about this update. Default false: no email is sent. | |
| custom_text | No | Extra text for the customer email. Only used when send_email is true. | |
| release_stock | No | true = put the order's items back into stock. Only applies when fulfillment_status is cancelled. | |
| payment_status | No | New payment status. Omit to keep the current one. | |
| fulfillment_status | No | New fulfillment status. Omit to keep the current one. |