Home > @infiniteobjects/shopify-data-manager > AdminTypes > LineItemMutable > totalDiscount
Warning: This API is now obsolete.
Use
totalDiscountSet
instead.
The total amount of the discount allocated to the line item in the shop 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:
totalDiscount: Scalars['Money']['output'];