stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > LineItemMutable > totalDiscountSet

AdminTypes.LineItemMutable.totalDiscountSet property

The total amount of the discount allocated to the line item in the presentment currency. This field must be explicitly set using draft orders, Shopify scripts, or the API. Instead of using this field, Shopify recommends using discountAllocations, which provides the same information.

Signature:

totalDiscountSet: MoneyBag;