Skip to main content
INPUT_OBJECT Discount details for the line item.

Fields

amount
Decimal!
required
An amount discounted at the individual line item level.
taxCalculation
TaxCalculation
If taxes were calculated, you can specify if they were calculated before or after the discount was applied.
rate
Decimal
The rate of the discount, formatted as a decimal. e.g., 5.00% will be formatted as 0.05