本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
orders.read_write
- Orders Read & Write1: ********************
{
"parent_id": 863076598,
"name": "تبقى 40 دقيقة على الدفع",
"message": "أكمل الدفع الان",
"icon": "sicon-cup-hot",
"sort": 3,
"is_active": true
}
curl --location --request POST 'https://echo.apifox.com/anything/orders/statuses' \
--header 'Content-Type: application/json' \
--header '1;' \
--data-raw '{
"parent_id": 863076598,
"name": "تبقى 40 دقيقة على الدفع",
"message": "أكمل الدفع الان",
"icon": "sicon-cup-hot",
"sort": 3,
"is_active": true
}'
{
"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": []
}
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升