---
title: "customerRecover"
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-recover'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/customers/mutations/customer-recover.md'
---
# customerRecover

发送重置密码邮件

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

## Type Signature

`CustomerRecoverPayload`

## Arguments

* `email`

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

  邮箱

## Returns

* `customerUserErrors`

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

  错误信息

## Code Example

```graphql
mutation customerRecover($email: String! ) {
	customerRecover(email: $email ) 
		 {
			# CustomerRecoverPayload fields
		}
		
	}

```

## Variables

```json
{
  "email": {}
}
```

## Error Handling

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

