Update order Item
PUT/api/orders/:id/items/:itemId
Update order Item
Request
Path Parameters
id integerrequired
itemId integerrequired
Example: 7
Header Parameters
X-Company-Slug stringrequired
- application/json
Body
product_id number
price number
quantity number
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
id number
product_id number
order_id number
price number
quantity numbernullable
total number
product_name string
{
"id": "9",
"product_id": "1",
"order_id": "36",
"price": 2011,
"quantity": 1,
"total": 2011,
"product_name": "productsa 21name"
}
Loading...