Light Mode
Create Custom Order Status
POST
/orders/statusesLast modified: 22 days ago
This endpoint allows you to create a custom order status using the parameters available to be sent as body request.
Request
Body Params application/json
No schema defined
Example
{
"parent_id": 863076598,
"name": "تبقى 40 دقيقة على الدفع",
"message": "أكمل الدفع الان",
"icon": "sicon-cup-hot",
"sort": 3,
"is_active": true
}
Request samples
Responses
Success(200)
Error Validation(422)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"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": []
}
}
Last modified: 22 days ago