GitHub

ShopifyCheckoutCreatePayload

interface

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

Return type for checkoutCreate mutation.

interface ShopifyCheckoutCreatePayload {
  __typename: "CheckoutCreatePayload"
  checkout: ShopifyCheckout
  checkoutUserErrors: ShopifyCheckoutUserError[]
  queueToken: string
  userErrors: ShopifyUserError[]
}

Properties

__typename
"CheckoutCreatePayload"
checkout
ShopifyCheckout

The new checkout object.

checkoutUserErrors
ShopifyCheckoutUserError[]

The list of errors that occurred from executing the mutation.

queueToken
string

The checkout queue token. Available only to selected stores.

userErrors
ShopifyUserError[]

The list of errors that occurred from executing the mutation.