CustomerUpdatePayload

Return type for customerUpdate mutation.

Show definition
"""
Return type for `customerUpdate` mutation.
"""
type CustomerUpdatePayload {
  """
  The updated customer object.
  """
  customer: Customer
  """
  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.
  """
  customerAccessToken: CustomerAccessToken
  """
  List of errors that occurred executing the mutation.
  """
  customerUserErrors: [CustomerUserError!]!
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

customer (Customer)

The updated customer object.

customerAccessToken (CustomerAccessToken)

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 ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

Deprecated fields

Show/Hide
userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

Return type for customerUpdate mutation.

Show definition
"""
Return type for `customerUpdate` mutation.
"""
type CustomerUpdatePayload {
  """
  The updated customer object.
  """
  customer: Customer
  """
  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.
  """
  customerAccessToken: CustomerAccessToken
  """
  List of errors that occurred executing the mutation.
  """
  customerUserErrors: [CustomerUserError!]!
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

customer (Customer)

The updated customer object.

customerAccessToken (CustomerAccessToken)

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 ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

Deprecated fields

Show/Hide
userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

Return type for customerUpdate mutation.

Show definition
"""
Return type for `customerUpdate` mutation.
"""
type CustomerUpdatePayload {
  """
  The updated customer object.
  """
  customer: Customer
  """
  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.
  """
  customerAccessToken: CustomerAccessToken
  """
  List of errors that occurred executing the mutation.
  """
  customerUserErrors: [CustomerUserError!]!
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

customer (Customer)

The updated customer object.

customerAccessToken (CustomerAccessToken)

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 ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

Deprecated fields

Show/Hide
userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

Sign up for a Partner account to get started.

Sign up