Anchor to CalculatedExchangeLineItemCalculated
objectCalculated Exchange Line Item
Requires access scope or
access scope. Also: The shop must have access to exchanges.
A calculated exchange line item.
Anchor to FieldsFields
- Anchor to calculatedDiscountAllocationscalculated•[Calculated
Discount Allocations Discount Allocation!]!non-null The discounts that have been allocated onto the line item by discount applications.
- Anchor to discountedUnitPriceSetdiscounted•Money
Unit Price Set Bag!non-null The unit price of the exchange line item after discounts.
- •ID
A globally-unique ID.
- Anchor to originalUnitPriceSetoriginal•Money
Unit Price Set Bag!non-null The original unit price of the exchange line item before discounts.
- Anchor to quantityquantity•Int!non-null
The quantity being exchanged.
- Anchor to subtotalSetsubtotal•Money
Set Bag!non-null The calculated subtotal set of the exchange line item, including discounts.
- Anchor to totalTaxSettotal•Money
Tax Set Bag!non-null The total tax of the exchange line item.
- Anchor to variantvariant•Product
Variant The variant being exchanged.
Was this section helpful?