Create Custom Order Status
POST
/orders/statusesThis endpoint allows you to create a custom order status using the parameters available to be sent as body request.
Request
Order Status Parent ID. List of Order Statuses can be found here
Order Status Name.
Order Status Message.
Order Status Icon.
Order Status Sort.
Whether or not the Order Status is active.
{
"parent_id": 863076598,
"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": 120960473,
"name": "تبقى 40 دقيقة على الدفع",
"type": "custom",
"slug": "payment_pending",
"message": "أكمل الدفع الان",
"color": "#ffff",
"icon": "sicon-cup-hot",
"sort": 3,
"is_active": true,
"original": {
"id": 1473353380,
"name": "بإنتظار الدفع"
},
"parent": {
"id": 863076598,
"name": "في انتظارك تدفع"
},
"children": []
}
}