---
title: "taxonomyCollection"
description: "根据指定的分类树节点 ID 查询节点信息。"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/queries/taxonomy-collection'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/queries/taxonomy-collection.md'
---
# taxonomyCollection

根据指定的分类树节点 ID 查询节点信息。

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

## Arguments

* `id`

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

  分类树节点的唯一标识 ID。

## Returns

* `id`

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

  分类树节点的唯一标识 ID。

* `title`

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

  分类树节点关联的分类标题。

* `collection`

  [Collection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/collection.md)

  分类树节点关联的分类对象。

* `collectionId`

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

  分类树节点关联的分类 ID。

* `parent`

  [TaxonomyCollection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/taxonomy-collection.md)

  父节点对象。

## Error Handling

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

