跳到主要内容
版本:202201

查询子款式数量

GET 

/openapi/2022-01/products/:product_id/variants/count

返回指定商品下的子款式总数。

请求

Path参数

    product_id string必填

    待统计子款式数量的商品 ID。

响应

200

数据结构
    countinteger
    默认值: 0
    示例: 5