Modo Claro
Update Order Item
PUT
/orders/items/{item_id}Last modified: a month ago
This endpoint allows you to update a specific Order item by passing the item_id
as a path parameter.
Request
Parâmetros Path
Parâmetros Bodyapplication/json
object {0}
Exemplo
{
"order_id": 817290231,
"quantity": 2,
"branch_id": 12342,
"price": 100,
"weight": 0.2,
"weight_type": "kg",
"options": [
{
"id": 789012,
"value": [
"value1"
]
}
]
}
Request samples
Respostas
Success(200)
Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Esquema de Dados
No schema defined
Exemplo
{
"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": []
}
]
}
Last modified: a month ago