GitHub

ShopifyCheckoutDiscountCodeApplyV2Payload

interface

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

Return type for checkoutDiscountCodeApplyV2 mutation.

interface ShopifyCheckoutDiscountCodeApplyV2Payload {
  __typename: "CheckoutDiscountCodeApplyV2Payload"
  checkout: ShopifyCheckout
  checkoutUserErrors: ShopifyCheckoutUserError[]
  userErrors: ShopifyUserError[]
}

Properties

__typename
"CheckoutDiscountCodeApplyV2Payload"
checkout
ShopifyCheckout

The updated checkout object.

checkoutUserErrors
ShopifyCheckoutUserError[]

The list of errors that occurred from executing the mutation.

userErrors
ShopifyUserError[]

The list of errors that occurred from executing the mutation.