GitHub

ShopifyCartCreatePayload

interface

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

Return type for cartCreate mutation.

interface ShopifyCartCreatePayload {
  __typename: "CartCreatePayload"
  cart: ShopifyCart
  userErrors: ShopifyCartUserError[]
}

Properties

__typename
"CartCreatePayload"
cart
ShopifyCart

The new cart.

userErrors
ShopifyCartUserError[]

The list of errors that occurred from executing the mutation.