Update Order Item
PUT
/orders/items/{item_id}This endpoint allows you to update a specific Order item by passing the item_id
as a path parameter.
Request
Order ID. List of Order ID can be found here
Order Item Quantity
Branch ID. List of Branch ID can be found here.
Product Option ID
Product Price.
Product Weight Value.
Product Weight Type.
{
"order_id": 817290231,
"quantity": 2,
"branch_id": 12342,
"price": 100,
"weight": 0.2,
"weight_type": "kg",
"options": [
{
"id": 789012,
"value": [
"value1"
]
}
]
}
Request samples
[api.label.responses]
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
A unique identifier, typically numerical or alphanumeric, assigned to an individual item or product within an order.
The name or description of an individual item or product within an order.
Stock Keeping Unit, and it is a unique code or identifier used to track and manage individual products or items in inventory, facilitating inventory management, sales tracking, and product identification.
The numerical count of a specific item or product included in an order, indicating how many of that particular item have been purchased or are part of the order.
The specific currency in which the price or value of an individual item within an order is expressed, indicating the monetary unit used for pricing that particular item.
The numerical measurement representing the weight of an individual item or product within an order.
A textual label or description associated with the weight of an individual item within an order, typically used to indicate the unit of measurement (e.g., kg, lb) and provide clarity regarding how the item's weight is expressed.
Order items notes
{
"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": []
}
]
}