Update Order Item
PUT
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
numberrequired
Order ID
numberrequired
Order Item ID
number
Assigned Employee ID
number
Quantity
number
Price per unit
number
Unit cost
object
Item discount object
stringrequired
Discount type. "percentage" — percent, "value" — absolute value.
numberrequired
Percentage value
numberrequired
stringrequired
"staff" — Employee wages calculation is based on the amount after discount. This way the company discount decreases the piecework employee wages. "company" — Employee commissions will be calculated from amount before discount. This way the company discount won't affect the employee commissions.
object
Item warranty object
stringrequired
Warranty period
stringrequired
Warranty unit of measure
array of number
Array of Tax ID
string
Comment text