新增产品标签信息
企业可通过此接口新增产品标签信息
请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/product/library/create_product_library_tag_info
Query参数:
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | str | 是 | 调用接口凭证 |
Body参数:
{
"create_user_id": "test_cdd9ac436b9b",
"tag_names": [
"test_119893ddc9bc"
]
}
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
create_user_id | string | 是 | 创建员工id |
tag_names | string[] | 是 | 产品标签名称集合,集合最小长度为:1,最大长度为:5 |
返回值:
{
"code": 0,
"msg": "请求成功",
"data": {
"product_library_tag_infos": [
{
"tag_id": "test_367f65af1588",
"tag_name": "test_c0d4eb8c4ecb",
"error_msg": "test_ea7ab9e81fa3"
}
]
},
"sub_code": "00000"
}
参数说明:
参数 | 类型 | 说明 |
---|---|---|
code | int | 返回码 |
msg | string | 对返回码的文本描述内容 |
data | object | 响应对象 |
product_library_tag_infos | object[] | 产品标签信息集合 |
tag_id | string | 产品标签ID |
tag_name | string | 产品标签名称 |
error_msg | string | 异常原因 |
sub_code | string | 业务异常返回码 |