由末级分类获取规格(旧)
POST
/ark/open_api/v3/common_controller
错误码 | 错误码描述 | |
---|---|---|
-1009003 | 类目没有对应属性 | |
-1009005 | 类目没有销售属性 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://ark.xiaohongshu.com/ark/open_api/v3/common_controller' \
--header 'Content-Type: application/json;charset=utf-8' \
--data-raw '{
"categoryId": "5845***325e"
}'
响应示例响应示例
{
"splVariations": [
{
"id": "56d8****5276",
"name": "尺码",
"enName": "Shoes Size"
}
],
"spvVariations": [
{
"id": "56d8****5276",
"name": "尺码",
"enName": "Shoes Size"
}
]
}
请求参数
Header 参数
Content-Type
string
可选
默认值:
application/json;charset=utf-8
Body 参数application/json
返回响应
修改于 2023-08-01 04:08:23