1:查询开通城市

2021年11月05日

查询开通城市

接口说明:商户可以用来判断城市是否开通闪送服务,供订单计费使用。开通城市基本不变,建议商户存储到本地并且定时查询进行更新。
  • 入参说明
参数 示例 说明
clientId sssHhHPkzCNWG1sFs App-key
shopId 20000000000001715 商户ID
timestamp 1634095503814 毫秒级时间戳
sign 20BCB8659478BDFC1B69184CABE847F2 签名
  • 出参说明
参数 类型/是否必传 说明 示例
index String(1)/YES 城市首字母 A
name String(20)/YES 城市名称 鞍山市
id Long(20)/YES 城市ID 2130
fakeCities Object[]/NO 对象弃用,请忽略
  • 入参示例
clientId:sssHhHPkzCNWG1sFs
shopId:20000000000001715
timestamp:1634095503814
sign:20BCB8659478BDFC1B69184CABE847F2
  • 出参示例
   {
    "status":200,
    "msg":null,
    "data":[
        {
            "index":"A",
            "cities":[
                {
                    "index":"A",
                    "name":"鞍山市",
                    "id":2103
                },
                {
                    "index":"A",
                    "name":"安阳市",
                    "id":4105
                }
            ]
        },
        {
            "index":"B",
            "cities":[
                {
                    "index":"B",
                    "name":"北京市",
                    "id":1101
                }
            ]
        }
    ]
}
关键词: