Adjust Item Input

A price adjustment to an OrderItemSummary. It only supports discounts, not increases.
Root XML tag
<adjustItem>
JSON example
1{
2  "reason": "Unknown",
3  "amount": -45,
4  "adjustmentType": "AmountWithoutTax",
5  "orderItemSummaryId": "10uxx0000004EXLAA2",
6  "description": "foobar"
7}
Properties
Name Type Description Required or Optional Available Version
adjustmentType String Describes how the amount is calculated. It can have one of these values:
  • AmountTaxOnly—Value of amount is the tax-only adjustment only. Available in version 65.0 and later.
  • AmountWithTax—Value of amount is the adjustment, including tax.
  • AmountWithoutTax—Value of amount is the adjustment, not including tax. Tax is calculated on the value and added.
  • Percentage—Value of amount is a percentage discount. It is divided by 100, and then multiplied by the TotalPrice and TotalTaxAmount of the OrderItemSummary to determine the adjustment amount.
  • ProductOnly——Value of amount is the product-only adjustment only. Available in version 65.0 and later.
Required 49.0
amount Double Value used to calculate the adjustment amount, as described by the adjustmentType. It must be a negative value. Required 49.0
description String Description of the adjustment. Optional 49.0
orderItemSummaryId String ID of the OrderItemSummary. Required 49.0
reason String Reason for the adjustment. The value must match one of the picklist values on the Reason field of the OrderItemSummaryChange object. Required 49.0