Update Order Status
POST {{baseUrl}}/orders/:order_id/status
This endpoint allows you to update the status of a specific order by passing the order_id
as a 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"}}