Light Mode
Update Order Status
POST
/orders/{order_id}/statusLast modified: 17 days ago
This endpoint allows you to update the status of a specific order by passing the order_id
as a path parameter.
:::tip[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
Path Params
order_id
integer
required
The Order ID. List of Order ID can be found here
Body Params application/json
status_id
number
optional
A unique identifier associated with a specific order status.
Example:
1360188634
slug
string
optional
A user-friendly and URL-friendly text string associated with a specific order status.
Example:
restoring
note
string
optional
A written comment or message submitted to request information or updates regarding the status of the order.
Example:
Your request has been received
Example
{
"slug": "restoring"
}
Request samples
Responses
Success(201)
Not Found(404)
Error Validation(422)
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 201,
"success": true,
"data": {
"message": "The entity has been updated successfully",
"code": 201
}
}
Last modified: 17 days ago