Modo Claro
Update Order Status
POST
/orders/{order_id}/statusLast modified: a month 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
Parâmetros Path
order_id
integer
requerido
The Order ID. List of Order ID can be found here
Parâmetros Bodyapplication/json
status_id
number
opcional
A unique identifier associated with a specific order status.
Exemplo:
1360188634
slug
string
opcional
A user-friendly and URL-friendly text string associated with a specific order status.
Exemplo:
restoring
note
string
opcional
A written comment or message submitted to request information or updates regarding the status of the order.
Exemplo:
Your request has been received
Exemplo
{
"slug": "restoring"
}
Request samples
Respostas
Success(201)
Not Found(404)
Error Validation(422)
HTTP Code: 201
Content Type : JSONapplication/json
Esquema de Dados
No schema defined
Exemplo
{
"status": 201,
"success": true,
"data": {
"message": "The entity has been updated successfully",
"code": 201
}
}
Last modified: a month ago