查询产品类型列表
企业可通过此接口查询产品类型列表
请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/product/library/query_product_type_list
Query参数:
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | str | 调用接口凭证 |
Body参数:
{
"product_type_id": 42
}
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
product_type_id | long | 否 | 产品类型ID |
返回值:
{
"code": 0,
"msg": "请求成功",
"data": {
"product_type_infos": [
{
"product_type_id": 25,
"product_type_name": "test_b6a22d478d12",
"creator": "test_deabb1684780",
"create_time": 65
}
]
},
"sub_code": "00000"
}
参数说明:
参数 | 类型 | 说明 |
---|---|---|
code | int | 返回码 |
msg | string | 对返回码的文本描述内容 |
data | object | 响应对象 |
product_type_infos | object[] | 产品类型信息集合 |
product_type_id | long | 产品类型ID |
product_type_name | string | 产品类型名称 |
creator | string | 创建员工ID |
create_time | long | 创建时间,格式:时间戳,精度:秒 |
sub_code | string | 业务异常返回码 |