Skip to navigation

UpdateCustomerError

UNION
An error when updating a customer.

Possible types

UnexpectedUpdateCustomerErrorUnexpectedUpdateCustomerErrorRequired
An unexpected error when updating a customer.
OR
EmailAlreadyInUseErrorEmailAlreadyInUseErrorRequired
An error due to the customer email already being in use when attempting registration.
OR
ValidationErrorValidationErrorRequired
Validation error that occurred during a graphql request
OR
CustomerDoesNotExistErrorCustomerDoesNotExistErrorRequired
An error due to customer not existing when attempting to update customer information.
OR
CustomerNotLoggedInErrorCustomerNotLoggedInErrorRequired

An error due to not supplying a customer ID either via customer-id header (when using a customer impersonation token) or by logging into the storefront as a customer.

Referenced by