GitHub

CartCustomDiscountAllocation

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

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

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