This feature in Carts API provides you the flexibility to apply adjustments at the cart, item, or fulfillment level. Adjustments are deductible elements that modify the total amount and are non-taxable.
You can apply adjustments at multiple levels, including the cart, individual items, or fulfillment. The adjustment maintains a consistent structure across all levels.The following code sample provides the structure of an adjustment object:
As multiple adjustments can be applied to a single cart, item, or fulfillment, adjustments are displayed as a collection.The following code sample provides the structure of an adjustment object in a collection: