---
title: "customerVerficationCheck"
description: "客户验证码校验"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/customers/mutations/customer-verfication-check'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/customers/mutations/customer-verfication-check.md'
---
# customerVerficationCheck

客户验证码校验

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

## Type Signature

`CustomerVerficationCheckPayload`

## Arguments

* `account`

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

  邮箱或者手机号

* `scene`

  [VerficationCodeSendScene!](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/enums/verfication-code-send-scene.md)

  验证码发送场景

* `code`

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

  验证码code

## Returns

* `customerUserErrors`

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

  错误信息

* `verifyToken`

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

  验证码令牌

## Code Example

```graphql
mutation customerVerficationCheck($account: String! $scene: VerficationCodeSendScene! $code: String! ) {
	customerVerficationCheck(account: $account, scene: $scene, code: $code ) 
		 {
			# CustomerVerficationCheckPayload fields
		}
		
	}

```

## Variables

```json
{
  "account": {},
  "code": {},
  "scene": {}
}
```

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes)。

