获取分类详情

GET /openapi/2021-08/collections/{id}

权限:read_collections

REST参数

参数名

说明

必填

值可能性

示例

id

分类ID

[string]

1

示例响应内容

{
    "term_taxonomy_id": 1924,
    "taxonomy": "product_cat",
    "description": "<p>product category</p>",
    "parent": 0,
    "count": 0,
    "id": 1924,
    "thumbnail": null,
    "thumbnail_url": "",
    "product_count": 0,
    "order": null,
    "seo_title": "product category",
    "seo_description": "product category description.",
    "name": "product category",
    "slug": "product-category",
    "public_url": "https://example.hotishop.com/collections/product-category",
    "base_url": "https://example.hotishop.com/collections",
    "source": null,
    "total_count": null,
    "path": "/collections/product-category",
    "sort_type": "manual",
    "category_type": "manual_category",
    "additional": "",
    "conditions": [],
    "term": {
        "term_id": 1925,
        "name": "product category",
        "slug": "product-category",
        "term_group": 0
    }
}

Last updated