GitHub

CartAutomaticDiscountAllocation

import { CartAutomaticDiscountAllocation } from '@daffodil/driver/shopify'

The discounts automatically applied to the cart line based on prerequisites that have been met.

type CartAutomaticDiscountAllocation = CartDiscountAllocation & {
    __typename?: 'CartAutomaticDiscountAllocation';
    discountedAmount: MoneyV2;
    title: Scalars['String']['output'];
}