Represents an error that happens during execution of a customer mutation.


The error code.

The path to the input field that caused the error.

The error message.


Was this section helpful?
Map
  • No referencing fields
  • CustomerUserError


    Creates a customer access token. The customer access token is required to modify the customer object in any way.

    Creates a customer access token using a multipass token instead of email and password. A customer record is created if the customer doesn't exist. If a customer record already exists but the record is disabled, then the customer record is enabled.

    Activates a customer with the activation url received from customerCreate.

    Activates a customer.

    Creates a new address for a customer.

    Permanently deletes the address of an existing customer.

    Updates the address of an existing customer.

    Anchor to customerCreate
    mutation
    Access requirements

    Creates a new customer.

    Updates the default address of an existing customer.

    Anchor to customerRecover
    mutation
    Access requirements

    Sends a reset password email to the customer. The reset password email contains a reset password URL and token that you can pass to the customerResetByUrl or customerReset mutation to reset the customer password.

    This mutation is throttled by IP. With private access, you can provide a Shopify-Storefront-Buyer-IP instead of the request IP. The header is case-sensitive and must be sent as Shopify-Storefront-Buyer-IP.

    Make sure that the value provided to Shopify-Storefront-Buyer-IP is trusted. Unthrottled access to this mutation presents a security risk.

    "Resets a customer’s password with the reset password URL received from a reset password email. You can send a reset password email with the customerRecover mutation."

    Anchor to customerReset
    mutation
    Access requirements

    "Resets a customer’s password with the token received from a reset password email. You can send a reset password email with the customerRecover mutation."

    Anchor to customerUpdate
    mutation
    Access requirements

    Updates an existing customer.


    Was this section helpful?

    ||-
    CustomerUserError Implements
    CustomerUserError