---
title: "CustomerSortKeys"
description: "Query the sort key of the customer list"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/enums/customer-sort-keys'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/enums/customer-sort-keys.md'
---
# CustomerSortKeys

Query the sort key of the customer list

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

## Type Signature

`CustomerSortKeys`

## Values

* `FINAL_AMOUNT`

  Total order amount

* `FINAL_ORDER_CNT`

  Total order count 

* `FIRST_ORDER_TIME`

  First order time 

* `LAST_ABANDONED_CREATE_TIME`

  Last abandoned order time 

* `LAST_ORDER_TIME`

  Last order time 

* `UPDATE_TIME`

  Last updated 

* `CREATE_TIME`

  Time to join the store

## 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/docs/admin-graph-ql-api/customers/queries/customer-segment-members.md).customerSegmentMembers

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

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

  客户列表

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

