本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
item_id
as a path parameter.orders.read_write
- Orders Read & WriteAuthorization: Bearer ********************
{
"order_id": 817290231,
"quantity": 2,
"branch_id": 12342,
"price": 100.00,
"weight": 0.2,
"weight_type": "kg",
"options": [
{
"id": 789012,
"value": [
"value1"
]
}
]
}
curl --location --request PUT 'https://echo.apifox.com/anything/orders/items/3155923424' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_id": 817290231,
"quantity": 2,
"branch_id": 12342,
"price": 100.00,
"weight": 0.2,
"weight_type": "kg",
"options": [
{
"id": 789012,
"value": [
"value1"
]
}
]
}'
{
"status": 200,
"success": true,
"data": [
{
"id": 365435777,
"name": "SSD",
"sku": "sam-ssd-256g",
"quantity": 2,
"currency": "SAR",
"weight": 0.2,
"weight_label": "٠.٢ كجم",
"amounts": {
"price_without_tax": {
"amount": 100,
"currency": "SAR"
},
"total_discount": {
"amount": 0,
"currency": "SAR"
},
"tax": {
"percent": "15.00",
"amount": {
"amount": 15,
"currency": "SAR"
}
},
"total": {
"amount": 115,
"currency": "SAR"
}
},
"notes": "",
"options": [],
"images": [],
"codes": [],
"files": [],
"reservations": [],
"branches_quantity": []
}
]
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升