GitHub

ShopifyCustomerCreatePayload

interface

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

Return type for customerCreate mutation.

interface ShopifyCustomerCreatePayload {
  __typename: "CustomerCreatePayload"
  customer: ShopifyCustomer
  customerUserErrors: ShopifyCustomerUserError[]
  userErrors: ShopifyUserError[]
}

Properties

__typename
"CustomerCreatePayload"
customer
ShopifyCustomer

The created customer object.

customerUserErrors
ShopifyCustomerUserError[]

The list of errors that occurred from executing the mutation.

userErrors
ShopifyUserError[]

The list of errors that occurred from executing the mutation.