GitHub

ShopifyCheckoutDiscountCodeRemovePayload

interface

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

Return type for checkoutDiscountCodeRemove mutation.

interface ShopifyCheckoutDiscountCodeRemovePayload {
  __typename: "CheckoutDiscountCodeRemovePayload"
  checkout: ShopifyCheckout
  checkoutUserErrors: ShopifyCheckoutUserError[]
  userErrors: ShopifyUserError[]
}

Properties

__typename
"CheckoutDiscountCodeRemovePayload"
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.