Update Order Status
POST
https://api.salla.dev/admin/v2/orders/{order_id}/statusThis 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
The Order ID. List of Order ID can be found here
A unique identifier associated with a specific order status.
A user-friendly and URL-friendly text string associated with a specific order status.
A written comment or message submitted to request information or updates regarding the status of the order.
{
"slug": "restoring"
}
Request samples
Responses
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
A text or data communication generated by a system or application in response to a request.
A numerical or alphanumeric identifier used in various systems and protocols to indicate the status or outcome of a specific request.
{
"status": 201,
"success": true,
"data": {
"message": "The entity has been updated successfully",
"code": 201
}
}