import { ShopifyCartDiscountCode } from '@daffodil/driver/shopify'
The discount codes applied to the cart.
interface ShopifyCartDiscountCode {
__typename: "CartDiscountCode"
applicable: boolean
code: string
}
__typename "CartDiscountCode" |
|---|
applicable boolean |
|---|
Whether the discount code is applicable to the cart's current contents. |
code string |
|---|
The code for the discount. |