--- title: CustomerActivatePayload - Storefront API description: Return type for `customerActivate` mutation. api_version: 2025-04 api_name: storefront type: payload api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/2025-04/payloads/customeractivatepayload md: https://shopify.dev/docs/api/storefront/2025-04/payloads/customeractivatepayload.md --- # Customer​Activate​Payload payload Return type for `customerActivate` mutation. ## Fields * customer [Customer](https://shopify.dev/docs/api/storefront/2025-04/objects/Customer) The customer object. * customer​Access​Token [Customer​Access​Token](https://shopify.dev/docs/api/storefront/2025-04/objects/CustomerAccessToken) A newly created customer access token object for the customer. * customer​User​Errors [\[Customer​User​Error!\]!](https://shopify.dev/docs/api/storefront/2025-04/objects/CustomerUserError) non-null The list of errors that occurred from executing the mutation. * user​Errors [\[User​Error!\]!](https://shopify.dev/docs/api/storefront/2025-04/objects/UserError) non-nullDeprecated *** ## Mutations with this payload * [customer​Activate](https://shopify.dev/docs/api/storefront/2025-04/mutations/customerActivate) mutation Activates a customer account using an activation token received from the [`customerCreate`](https://shopify.dev/docs/api/storefront/2025-04/mutations/customerCreate) mutation. The customer sets their password during activation and receives a [`CustomerAccessToken`](https://shopify.dev/docs/api/storefront/2025-04/objects/CustomerAccessToken) for authenticated access. For a simpler approach that doesn't require parsing the activation URL, use [`customerActivateByUrl`](https://shopify.dev/docs/api/storefront/2025-04/mutations/customerActivateByUrl) instead. *** **Caution:** This mutation handles customer credentials. Always use HTTPS and never log or expose the password or access token. *** * id [ID!](https://shopify.dev/docs/api/storefront/2025-04/scalars/ID) required ### Arguments Specifies the customer to activate. * input [Customer​Activate​Input!](https://shopify.dev/docs/api/storefront/2025-04/input-objects/CustomerActivateInput) required The fields used to activate a customer. *** *** ## Map ### Mutations with this payload * [customer​Activate](https://shopify.dev/docs/api/storefront/2025-04/types/customerActivate)