新增产品分类信息

企业可通过此接口新增产品分类信息

请求方式: POST(HTTPS)

请求地址: https://open.wshoto.com/openapi/product/library/create_product_category_info

Query参数:

参数 类型 必填 说明
access_token str 调用接口凭证

Body参数:

{
  "parent_id": 53,
  "user_id": "test_8b9f1cc2e921",
  "product_category_name": "test_05bef7a272a7"
}
参数 类型 必填 说明
parent_id long 产品类型ID或父产品分类ID
user_id string 创建员工id
product_category_name string 产品分类名称

返回值:

{
  "code": 0,
  "msg": "请求成功",
  "data": {
    "product_category_id": 60
  },
  "sub_code": "00000"
}

参数说明:

参数 类型 说明
code int 返回码
msg string 对返回码的文本描述内容
data object 响应对象
product_category_id long 产品分类id
sub_code string 业务异常返回码

results matching ""

    No results matching ""