您的位置 : 文档中心 -> API信息

cn.alibaba.open:alibaba.relation.queryConsignerGroups-1
【关系】供应商-查询所有等级信息 免费

查询所有等级信息

API用户授权类型

需要授权

系统级输入参数

名称 类型 是否必须 描述
_aop_timestamp String 请求时间戳
_aop_signature String 请求签名
access_token String 用户授权令牌

应用级输入参数

名称 类型 是否必须 描述 示例值 默认值

返回结果

名称 类型 是否必须 描述 示例值
+ groupsModels alibaba.relation.groups-result[] 等级列表

返回结果

正确结果返回值

  {
  "groupsModels": [
    {
      "groupName": "默认等级",
      "groupId": -1,
      "consignCount": 15
    },
    {
      "groupName": "30",
      "groupId": 374,
      "consignCount": 0
    },
    {
      "groupName": "79",
      "groupId": 373,
      "consignCount": 0
    },
    {
      "groupName": "29",
      "groupId": 372,
      "consignCount": 0
    },
    {
      "groupName": "28",
      "groupId": 371,
      "consignCount": 0
    },
    {
      "groupName": "27",
      "groupId": 370,
      "consignCount": 0
    },
    {
      "groupName": "26",
      "groupId": 369,
      "consignCount": 0
    },
    {
      "groupName": "25",
      "groupId": 368,
      "consignCount": 0
    },
    {
      "groupName": "23",
      "groupId": 367,
      "consignCount": 0
    },
    {
      "groupName": "22",
      "groupId": 366,
      "consignCount": 0
    },
    {
      "groupName": "21",
      "groupId": 365,
      "consignCount": 0
    },
    {
      "groupName": "20",
      "groupId": 364,
      "consignCount": 0
    },
    {
      "groupName": "19",
      "groupId": 363,
      "consignCount": 0
    },
    {
      "groupName": "18",
      "groupId": 362,
      "consignCount": 0
    },
    {
      "groupName": "17",
      "groupId": 361,
      "consignCount": 0
    },
    {
      "groupName": "16",
      "groupId": 360,
      "consignCount": 0
    },
    {
      "groupName": "15",
      "groupId": 359,
      "consignCount": 0
    },
    {
      "groupName": "14",
      "groupId": 358,
      "consignCount": 0
    },
    {
      "groupName": "aaaaaaaaaa",
      "groupId": 344,
      "consignCount": 0
    },
    {
      "groupName": "默认代销分组",
      "groupId": 259,
      "consignCount": 0
    },
    {
      "groupName": "一个长的分组名字",
      "groupId": 76,
      "consignCount": 0
    },
    {
      "groupName": "问问",
      "groupId": 61,
      "consignCount": 0
    },
    {
      "groupName": "我的渠道商",
      "groupId": 60,
      "consignCount": 0
    },
    {
      "groupName": "8",
      "groupId": 59,
      "consignCount": 0
    },
    {
      "groupName": "7",
      "groupId": 58,
      "consignCount": 0
    },
    {
      "groupName": "6",
      "groupId": 57,
      "consignCount": 0
    },
    {
      "groupName": "46",
      "groupId": 56,
      "consignCount": 0
    },
    {
      "groupName": "嗯嗯",
      "groupId": 55,
      "consignCount": 2
    },
    {
      "groupName": "213",
      "groupId": 54,
      "consignCount": 0
    },
    {
      "groupName": "一二三四五六七八九十",
      "groupId": 52,
      "consignCount": 0
    }
  ]
} 

API工具

SDK 示例