Update Order Status
POST {{baseUrl}}/orders/:order_id/status
This endpoint allows you to update the status for a specific order by providing the ID of the order in the order path parameter.
:::note
To update an order status, you may use one of the following:
- slug: to update an order with predefined Salla statuses.
- status_id: to update the Custom Order Sub-status.
:::
orders.read_write - Orders Read & Write
Request Body
{"status_id"=>"<number>", "slug"=>"<string>", "note"=>"<string>"}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"status":"\u003cnumber\u003e","success":"\u003cboolean\u003e","data":{"message":"\u003cstring\u003e","code":"\u003cnumber\u003e"}}