Skip to content
On this page

4.2.1 获取分类下Sku

接口说明:

MethodURLContentType
GET/api/restful/category/{id}/skusapplication/json

URL参数说明:

参数类型说明是否必须长度描述
idstring必须50商品分类编号

返回结果说明:

参数类型说明描述
resultstring 数组商品编号(sku)数组

请求参数示例:

/api/restful/category/010101/skus

返回数据示例:

json
{
    "result": [
        "1049204",
        "105019",
        "1034373",
        "1034184",
        "1049200",
        "1045561"
    ],
    "success": true,
    "errormsg": "",
    "errorcode": "0",
    "requestId": "d89eac5cfc6a443bae110ba92c41916e"
}