Modo Claro
Create Custom Order Status
POST
/orders/statusesLast modified: 23 days ago
This endpoint allows you to create a custom order status using the parameters available to be sent as body request.
Request
Parâmetros Bodyapplication/json
No schema defined
Exemplo
{
"parent_id": 863076598,
"name": "تبقى 40 دقيقة على الدفع",
"message": "أكمل الدفع الان",
"icon": "sicon-cup-hot",
"sort": 3,
"is_active": true
}
Request samples
Respostas
Success(200)
Error Validation(422)
HTTP Code: 200
Content Type : JSONapplication/json
Esquema de Dados
No schema defined
Exemplo
{
"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: 23 days ago