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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;status&quot;:&quot;\u003cnumber\u003e&quot;,&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;data&quot;:{&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;code&quot;:&quot;\u003cnumber\u003e&quot;}}