--- title: customerReset - Storefront API description: | "Resets a customer’s password with the token received from a reset password email. You can send a reset password email with the [`customerRecover`](https://shopify.dev/api/storefront/latest/mutations/customerRecover) mutation." api_version: 2025-10 api_name: storefront type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/mutations/customerReset md: https://shopify.dev/docs/api/storefront/latest/mutations/customerReset.md --- # customer​Reset mutation Requires `unauthenticated_write_customers` access scope. "Resets a customer’s password with the token received from a reset password email. You can send a reset password email with the [`customerRecover`](https://shopify.dev/api/storefront/latest/mutations/customerRecover) mutation." ## Arguments * id [ID!](https://shopify.dev/docs/api/storefront/latest/scalars/ID) required Specifies the customer to reset. * input [Customer​Reset​Input!](https://shopify.dev/docs/api/storefront/latest/input-objects/CustomerResetInput) required The fields used to reset a customer’s password. *** ## Customer​Reset​Payload returns * customer [Customer](https://shopify.dev/docs/api/storefront/latest/objects/Customer) The customer object which was reset. * customer​Access​Token [Customer​Access​Token](https://shopify.dev/docs/api/storefront/latest/objects/CustomerAccessToken) A newly created customer access token object for the customer. * customer​User​Errors [\[Customer​User​Error!\]!](https://shopify.dev/docs/api/storefront/latest/objects/CustomerUserError) non-null The list of errors that occurred from executing the mutation. * user​Errors [\[User​Error!\]!](https://shopify.dev/docs/api/storefront/latest/objects/UserError) non-nullDeprecated The list of errors that occurred from executing the mutation. *** ## Examples * ### customerReset reference ## Mutation Reference ```graphql mutation customerReset($id: ID!, $input: CustomerResetInput!) { customerReset(id: $id, input: $input) { customer { # Customer fields } customerAccessToken { # CustomerAccessToken fields } customerUserErrors { # CustomerUserError fields } } } ``` ## Input ```json { "id": "gid://shopify//10079785100", "input": { "resetToken": "", "password": "" } } ```