Adjustments
The adjustment object and the allowed CRUD operations on the related resource endpoint
Adjustments are arbitrary objects that can be used to change the total amount of an order by any value, either greater or lower than zero.
To add an adjustment to an order, you first need to create the adjustment and then create a line item that references it.
Unless you set the distribute_discount
attribute to false
(default is true
) at the single adjustment level, negative adjustment amounts are distributed as discounts on all the taxable items of the order based on the ratio between the line item amount and the sum of the amounts of all the line items involved.
Last updated