ライトモード
List Order Statuses
GET
/orders/statuses最終更新: a month ago
This endpoint allows you to fetch a list of all order statuses and sub-statuses.
Request
None
Request samples
Response
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
データ構造
No schema defined
例
Example | Custom Status Type
{
"status": 200,
"success": true,
"data": [
{
"id": 863076598,
"name": "في انتظار الدفع",
"type": "custom",
"slug": "payment_pending",
"sort": 0,
"message": "[ {store.name} ] \\n أصبحت حالة طلبك {order.id} {status}",
"icon": "sicon-trash",
"is_active": true,
"parent": null,
"original": {
"id": 1473353380,
"name": "بإنتظار الدفع"
}
},
{
"id": 224309239,
"name": "جاري مراجعة طلبك",
"type": "custom",
"slug": "under_review",
"sort": 1,
"message": "",
"icon": "sicon-trash",
"is_active": true,
"parent": null,
"original": {
"id": 566146469,
"name": "بإنتظار المراجعة"
}
},
{
"id": 1597755120,
"name": "بنفذ طلبك",
"type": "custom",
"slug": "in_progress",
"sort": 2,
"message": "",
"icon": "sicon-trash",
"is_active": true,
"parent": null,
"original": {
"id": 1939592358,
"name": "قيد التنفيذ"
}
},
{
"id": 1638621685,
"name": "تم التنفيذ",
"type": "custom",
"slug": "completed",
"sort": 3,
"message": "",
"icon": "sicon-trash",
"is_active": true,
"parent": null,
"original": {
"id": 1298199463,
"name": "تم التنفيذ"
}
},
{
"id": 1422535667,
"name": "جاري التوصيل",
"type": "custom",
"slug": "delivering",
"sort": 4,
"message": "",
"icon": "sicon-trash",
"is_active": true,
"parent": {
"id": 1638621685,
"name": "تم التنفيذ"
},
"original": {
"id": 349994915,
"name": "جاري التوصيل"
}
},
{
"id": 647449340,
"name": "تم التوصيل",
"type": "custom",
"slug": "delivered",
"sort": 5,
"message": "",
"icon": "sicon-trash",
"is_active": true,
"parent": {
"id": 1638621685,
"name": "تم التنفيذ"
},
"original": {
"id": 1723506348,
"name": "تم التوصيل"
}
},
{
"id": 1887201789,
"name": "تم الشحن",
"type": "custom",
"slug": "shipped",
"sort": 6,
"message": "",
"icon": "sicon-trash",
"is_active": false,
"parent": {
"id": 1638621685,
"name": "تم التنفيذ"
},
"original": {
"id": 814202285,
"name": "تم الشحن"
}
},
{
"id": 687926769,
"name": "ملغي",
"type": "custom",
"slug": "canceled",
"sort": 7,
"message": "",
"icon": "sicon-trash",
"is_active": true,
"parent": null,
"original": {
"id": 525144736,
"name": "ملغي"
}
},
{
"id": 2062355698,
"name": "مسترجع",
"type": "custom",
"slug": "restored",
"sort": 8,
"message": "",
"icon": "sicon-trash",
"is_active": true,
"parent": null,
"original": {
"id": 989286562,
"name": "مسترجع"
}
},
{
"id": 1113229566,
"name": "قيد الإسترجاع",
"type": "custom",
"slug": "restoring",
"sort": 9,
"message": "",
"icon": "sicon-trash",
"is_active": true,
"parent": null,
"original": {
"id": 1548352431,
"name": "قيد الإسترجاع"
}
}
]
}
最終更新: a month ago