Skip to main content
Skip to main content

LineDiscount

LineDiscount: Object

Associates a line item and discount allocation.

Type declaration

amountnumberRequired
lineItemLineItemRequired
Line Items are created when a product is added to a Cart. When Line Items are purchased they will get copied to the resulting order, swap, or claim, and can eventually be referenced in Fulfillments and Returns. Line items may also be used for order edits.
variantstringRequired
Was this section helpful?