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 new status ID.
Note: you can get a list of statuses from the Statuses List endpoint.
OAuth Scopes
orders.read_write
Request Body
{"status_id"=>1227710126, "note"=>"اتم تغيير الحالة من تطبيق الهاتف"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"status":201,"success":true,"data":{"message":"The entity has been updated successfully","code":201}}