商品子款式查询子款式数量版本:202506查询子款式数量 GET /openapi/2025-06/products/:product_id/variants/count 返回指定商品下的子款式总数。 请求 Path参数product_id string必填待统计子款式数量的商品 ID 响应200OKapplication/json数据结构示例数据结构codestring错误码messagestring错误信息data objectcountint64子款式总数{ "code": "string", "message": "string", "data": { "count": 0 }}