Update Order Item
PUT
https://backend.test-hyegro.com/orders/items/{order_item_id}
Request
Path Params
order_item_id
integer
Order Item Id
Query Params
schema
Schema
Any of
Body Params application/json
id
Id
Any of
product_name
string
Product Name
product_id
integer
Product Id
quantity
integer
Quantity
unit_price
Unit Price
Any of
total_price
Total Price
Any of
discount_percentage
Discount Percentage
Any of
tax
Tax
Any of
discounted_price
Discounted Price
Any of
Example
{
"id": 0,
"product_name": "string",
"product_id": 0,
"quantity": 0,
"unit_price": 0,
"total_price": 0,
"discount_percentage": 0,
"tax": 0,
"discounted_price": 0
}
Responses
🟢200OK
application/json
Body
id
Id
Any of
product_name
string
Product Name
product_id
integer
Product Id
quantity
integer
Quantity
unit_price
Unit Price
Any of
total_price
string
Total Price
discount_percentage
Discount Percentage
Any of
tax
Tax
Any of
discounted_price
Discounted Price
Any of
order_id
integer
Order Id
Example
{
"id": 0,
"product_name": "string",
"product_id": 0,
"quantity": 0,
"unit_price": "string",
"total_price": "string",
"discount_percentage": "string",
"tax": "string",
"discounted_price": "string",
"order_id": 0
}
🟠422Parameter Error
Modified at 2025-04-15 14:01:56