---
title: "customerActivateByVerfication"
description: "Activate with verification code"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/customers/mutations/customer-activate-by-verfication'
  md: 'https://developer.shopline.com/docs/storefront-api/customers/mutations/customer-activate-by-verfication.md'
---
# customerActivateByVerfication

Activate with verification code

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Mutation

## Type Signature

`CustomerActivateByVerficationPayload`

## Arguments

* `account`

  [String!](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Mailbox or phone number

* `verifyToken`

  [String!](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Verification code token

* `password`

  [String!](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Password

## Returns

* `activateResult`

  [Boolean](https://developer.shopline.com/docs/storefront-api/common/scalars/boolean.md)

  Activate Result

* `customerUserErrors`

  [[CustomerUserError!]!](https://developer.shopline.com/docs/storefront-api/customers/objects/customer-user-error.md)

  Error Message

## Code Example

```graphql
mutation customerActivateByVerfication($account: String! $verifyToken: String! $password: String! ) {
	customerActivateByVerfication(account: $account, verifyToken: $verifyToken, password: $password ) 
		 {
			# CustomerActivateByVerficationPayload fields
		}
		
	}

```

## Variables

```json
{
  "account": {},
  "password": {},
  "verifyToken": {}
}
```

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

