---
title: "CustomerSortKeys"
description: "查询客户列表的排序健"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/enums/customer-sort-keys'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/enums/customer-sort-keys.md'
---
# CustomerSortKeys

查询客户列表的排序健

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Enum

## Type Signature

`CustomerSortKeys`

## Values

* `FINAL_AMOUNT`

  总订单金额

* `FINAL_ORDER_CNT`

  总订单量

* `FIRST_ORDER_TIME`

  首单时间

* `LAST_ABANDONED_CREATE_TIME`

  上次弃单时间

* `LAST_ORDER_TIME`

  上次订购时间

* `UPDATE_TIME`

  最后更新时间

* `CREATE_TIME`

  添加为客户的时间（默认）

## Schema Definition

```graphql
enum CustomerSortKeys { 
	FINAL_AMOUNT 
	FINAL_ORDER_CNT 
	FIRST_ORDER_TIME 
	LAST_ABANDONED_CREATE_TIME 
	LAST_ORDER_TIME 
	UPDATE_TIME 
	CREATE_TIME  
}
```

## Argument from

* [Query](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/queries/customer-segment-members.md).customerSegmentMembers

  与单个细分市场相关联的成员列表，如客户。

* [Query](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/queries/customers.md).customers

  客户列表

## Error Handling

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

