---
title: "customerDeactivationApply"
description: "Apply for log-out customer"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/customers/mutations/customer-deactivation-apply'
  md: 'https://developer.shopline.com/docs/storefront-api/customers/mutations/customer-deactivation-apply.md'
---
# customerDeactivationApply

Apply for log-out customer

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

## Type Signature

`CustomerDeactivationApplyPayload`

## Arguments

* `customerAccessToken`

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

  Customer visit token

* `verifyToken`

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

  Verification code token

## Returns

* `applyResult`

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

  Apply Result

* `customerUserErrors`

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

  Error Message

## Code Example

```graphql
mutation customerDeactivationApply($customerAccessToken: String! $verifyToken: String! ) {
	customerDeactivationApply(customerAccessToken: $customerAccessToken, verifyToken: $verifyToken ) 
		 {
			# CustomerDeactivationApplyPayload fields
		}
		
	}

```

## Variables

```json
{
  "customerAccessToken": {},
  "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).

