GitHub

ShopifyCartDiscountCodesUpdatePayload

interface

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

Return type for cartDiscountCodesUpdate mutation.

interface ShopifyCartDiscountCodesUpdatePayload {
  __typename: "CartDiscountCodesUpdatePayload"
  cart: ShopifyCart
  userErrors: ShopifyCartUserError[]
}

Properties

__typename
"CartDiscountCodesUpdatePayload"
cart
ShopifyCart

The updated cart.

userErrors
ShopifyCartUserError[]

The list of errors that occurred from executing the mutation.