# 获取店铺的类目权限列表
# 接口说明
获取店铺的类目权限列表
# 接口调用请求说明
POST https://api.weixin.qq.com/shop/ec/category/get_category_relation_list?access_token=ACCESS_TOKEN
# 请求参数说明
参数 | 类型 | 是否必填 | 描述 |
---|---|---|---|
is_filter_status | bool | 是 | 是否过滤状态 |
status | uint32 | 否 | 当is_filter_status = true时,过滤的状态 |
# 请求参数示例
{
"is_filter_status": true,
"status":1
}
# 返回参数说明
参数 | 类型 | 描述 |
---|---|---|
errcode | number | 错误码 |
errmsg | string | 错误信息 |
list[].id | uint64 | 类目id |
list[].status | uint32 | 类目状态, 1生效中,2已失效 |
list[].uneffective_reason | string | 失效原因 |
list[].effective_time | uint32 | 生效时间 |
list[].uneffective_time | uint32 | 失效时间 |
list[].qua_id | uint32 | 类目资质id |
# 返回参数示例
{
"list": [
{
"id": 1072,
"status": 1,
"uneffective_reason": "",
"effective_time": 1716981765,
"uneffective_time": 0,
"qua_id": 0
},
{
"id": 1178,
"status": 2,
"uneffective_reason": "为支持更好的业务发展,类目已更新,原类目【运动水壶】已于2025年4月22日正式下线,存量商品下架、不可再新增对应类目的商品,,对三级类目【运动水壶】进行重新拆分,请选择新类目上架。",
"effective_time": 1686887176,
"uneffective_time": 1744296240,
"qua_id": 0
},
{
"id": 545716,
"status": 1,
"uneffective_reason": "",
"effective_time": 1743500419,
"uneffective_time": 0,
"qua_id": 1111610
}
],
"errcode": 0,
"errmsg": "ok"
}
# 错误码
错误码 | 错误描述 |
---|---|
公共错误码 | - |
9401020 | 参数有误 |