---
title: "TaxonomyCategory"
description: >
  SHOPLINE 的标准商品类型信息。商品分类标准参考 [Google 商品类别体系](https://support.google.com/merchants/answer/6324436?hl=zh-Hans)。返回标准商品类型的 ID、名称及祖先类型信息。
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/taxonomy-category'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/taxonomy-category.md'
---
# TaxonomyCategory

SHOPLINE 的标准商品类型信息。商品分类标准参考 [Google 商品类别体系](https://support.google.com/merchants/answer/6324436?hl=zh-Hans)。返回标准商品类型的 ID、名称及祖先类型信息。

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

## Fields

* `id`

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

  标准商品类型 ID。

* `name`

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

  标准商品类型名称。

* `ancestors`

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

  当前标准商品类型的祖先类型。

## Field from

* [TaxonomyCategory](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/taxonomy-category.md).ancestors

* [Product](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/product.md).standardCategory

