---
title: "CollectionSortKeys"
description: "集合查询的有效排序键集"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/enums/collection-sort-keys'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/enums/collection-sort-keys.md'
---
# CollectionSortKeys

集合查询的有效排序键集

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

## Type Signature

`CollectionSortKeys`

## Values

* `ID`

  按**分类ID**排序

* `TITLE`

  按**分类标题**排序

* `UPDATED_AT`

  按**分类更新时间**排序

## Schema Definition

```graphql
enum CollectionSortKeys { 
	ID 
	TITLE 
	UPDATED_AT  
}
```

## Argument from

* [Query](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/queries/collections.md).collections

  商店分类列表

## Error Handling

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

