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. Also you should pass either the status ID or the slug.

💡 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.

Request Body

{"slug"=>"restoring"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"status":201,"success":true,"data":{"message":"The entity has been updated successfully","code":201}}