Update Custom Order Status
PUT
/orders/statuses/{status_id}This endpoint allows you to update a custom order status by passing the status_id
as a path parameter.
:::tip[Note]
Use available parameters to send as a body request.
:::
:::danger[Important]
All variables in the Update Custom Order Status body request are optional. At least one of the variables must be in the body request payload. Otherwise, an error will be shown if you send an empty body request payload.
:::
Request
The Status ID. List of Status ID can be found here.
Order Status Name. List of Order Statuses can be found here. 🌐 [Support multi-language](🌐Support multi-language)
Order Status Message. 🌐 [Support multi-language](🌐Support multi-language)
Order Status Icon.
Order Status Sort.
Whether or not the Order Status is active.
{
"name": "تبقى 40 دقيقة على الدفع",
"message": "أكمل الدفع الان",
"icon": "sicon-cup-hot",
"sort": 3,
"is_active": true
}
Request samples
[api.label.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 unique identifier associated with a specific status assigned to an order.
List of order statuses can be found here
A label or designation given to a specific status assigned to an order. 🌐Support multi-language
The categorization or classification of an order.
A user-friendly and URL-friendly text string associated with a specific order. Note the parent slug is inherited.
A remark that provides information about the current status or condition of an order. 🌐Support multi-language
A specific color code or indicator assigned to different order statuses.
Graphical symbol or image used to represent different order statuses.
The specific numerical or alphanumeric sequence assigned to each order status in a list or database, determining the order in which they are displayed or sorted.
The option to indicate that the Order Status is active.
{
"status": 200,
"success": true,
"data": {
"id": 224309239,
"name": "حنراجع طلبك",
"type": "custom",
"slug": "under_review",
"message": "حنراجع طلبك وقد تستغرق المراجعة 24 ساعة كحد أقصى",
"color": "#ED696D",
"icon": "sicon-back",
"sort": 5,
"is_active": true,
"original": {
"id": 566146469,
"name": "بإنتظار المراجعة"
},
"parent": null,
"children": []
}
}