GitHub

ShopifyCustomerUpdatePayload

interface

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

Return type for customerUpdate mutation.

interface ShopifyCustomerUpdatePayload {
  __typename: "CustomerUpdatePayload"
  customer: ShopifyCustomer
  customerAccessToken: ShopifyCustomerAccessToken
  customerUserErrors: ShopifyCustomerUserError[]
  userErrors: ShopifyUserError[]
}

Properties

__typename
"CustomerUpdatePayload"
customer
ShopifyCustomer

The updated customer object.

customerAccessToken
ShopifyCustomerAccessToken

The newly created customer access token. If the customer's password is updated, all previous access tokens (including the one used to perform this mutation) become invalid, and a new token is generated.

customerUserErrors
ShopifyCustomerUserError[]

The list of errors that occurred from executing the mutation.

userErrors
ShopifyUserError[]

The list of errors that occurred from executing the mutation.