微信门店接口#
- class wechatpy.client.api.WeChatPoi(client=None)[源代码]#
微信门店
https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html
- add(poi_data)[源代码]#
创建门店
详情请参考 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html#7
- 参数
poi_data – 门店信息字典
- 返回
返回的 JSON 数据包
- delete(poi_id)[源代码]#
删除门店
详情请参考 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html#12
- 参数
poi_id – 门店 ID
- 返回
返回的 JSON 数据包
- get(poi_id)[源代码]#
查询门店信息
详情请参考 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html#9
- 参数
poi_id – 门店 ID
- 返回
返回的 JSON 数据包
- get_categories()[源代码]#
获取微信门店类目表
详情请参考 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html#13
- 返回
门店类目表
- list(begin=0, limit=20)[源代码]#
查询门店列表
详情请参考 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html#10
- 参数
begin – 开始位置,0 即为从第一条开始查询
limit – 返回数据条数,最大允许50,默认为20
- 返回
返回的 JSON 数据包
- update(poi_data)[源代码]#
修改门店服务信息
详情请参考 https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html#11
- 参数
poi_data – 门店信息字典
- 返回
返回的 JSON 数据包