--- title: customerActivateByUrl - Storefront API description: Activates a customer with the activation url received from `customerCreate`. api_version: 2025-10 api_name: storefront type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/mutations/customerActivateByUrl md: https://shopify.dev/docs/api/storefront/latest/mutations/customerActivateByUrl.md --- # customer​Activate​By​Url mutation Requires `unauthenticated_write_customers` access scope. Activates a customer with the activation url received from `customerCreate`. ## Arguments * activation​Url [URL!](https://shopify.dev/docs/api/storefront/latest/scalars/URL) required The customer activation URL. * password [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) required A new password set during activation. *** ## Customer​Activate​By​Url​Payload returns * customer [Customer](https://shopify.dev/docs/api/storefront/latest/objects/Customer) The customer that was activated. * customer​Access​Token [Customer​Access​Token](https://shopify.dev/docs/api/storefront/latest/objects/CustomerAccessToken) A new customer access token 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. *** ## Examples * ### customerActivateByUrl reference ## Mutation Reference ```graphql mutation customerActivateByUrl($activationUrl: URL!, $password: String!) { customerActivateByUrl(activationUrl: $activationUrl, password: $password) { customer { # Customer fields } customerAccessToken { # CustomerAccessToken fields } customerUserErrors { # CustomerUserError fields } } } ``` ## Input ```json { "activationUrl": "https://example.myshopify.com", "password": "" } ```