Skip to main content
Anchor to CustomerRecoverPayload

CustomerRecoverPayload

payload

Return type for customerRecover mutation.

•[CustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•[UserError!]!
non-nullDeprecated

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

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

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


Caution

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


Arguments

•String!
required

The email address of the customer to recover.



Was this section helpful?