门店创建
接口名称
openapi.store.create
请求方式
POST
请求头
application/json; charset=utf-8
请求业务参数
参数 | 类型 | 是否必填 | 最大长度 | 描述 |
---|---|---|---|---|
store_name | string | 是 | 20 | 门店名称 |
category_id | int | 是 | 20 | 门店类目 |
province | string | 是 | 10 | 门店所在省份 |
city | string | 是 | 10 | 门店所在城市 |
county | string | 是 | 10 | 门店所在县区 |
store_area | string | 是 | 50 | 门店的详细地址 |
store_lng | float | 否 | - | 门店所在纬度 |
store_lat | float | 否 | - | 门店所在经度 |
contact | string | 是 | 13 | 门店号码(11位手机号或者座机号) |
avg_price | int | 是 | - | 人均消费 |
- 请求示例:
{
"biz_content": "{\"store_area\":\"古香缎\",\"category_id\":\"1\",\"province\":\"江西省\",\"city\":\"上饶市\",\"contact\":\"15699990000\",\"county\":\"鄱阳县\",\"store_name\":\"APIstroe942\",\"store_lng\":\"120.063324\",\"avg_price\":\"22\",\"store_lat\":\"30.363323\"}",
"method": "openapi.store.create"
}
成功同步返回
参数 | 类型 | 是否必填 | 最大长度 | 描述 |
---|---|---|---|---|
store_id | int | 是 | 10 | 门店ID |
- 响应示例:
{
"result_message": "成功",
"data": {
"store_id": 2940
},
"result_code": 200
}