---
title: "customerActivate"
description: "Create customer"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/customers/mutations/customer-activate'
  md: 'https://developer.shopline.com/docs/storefront-api/customers/mutations/customer-activate.md'
---
# customerActivate

Create customer

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

## Type Signature

`CustomerActivatePayload`

## Arguments

* `id`

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

  Customer id

* `input`

  [CustomerActivateInput](https://developer.shopline.com/docs/storefront-api/customers/inputs/customer-activate-input.md)

  enter

## Returns

* `customer`

  [Customer](https://developer.shopline.com/docs/storefront-api/customers/objects/customer.md)

  Customer Information

* `customerAccessToken`

  [CustomerAccessToken](https://developer.shopline.com/docs/storefront-api/customers/objects/customer-access-token.md)

  customer access token

* `customerUserErrors`

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

  Error message

## Code Example

```graphql
mutation customerActivate($id: ID $input: CustomerActivateInput ) {
	customerActivate(id: $id, input: $input ) 
		 {
			# CustomerActivatePayload fields
		}
		
	}

```

## Variables

```json
{
  "id": {},
  "input": {
    "activationToken": {},
    "password": ""
  }
}
```

## 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).

