public interface WxMpGuideBuyerService
限定符和类型 | 方法和说明 |
---|---|
List<WxMpGuideBuyerResp> |
addGuideBuyerRelation(String account,
String openid,
List<WxMpAddGuideBuyerInfo> infos)
为顾问分配客户(批量)
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/addguidebuyerrelation?
|
void |
addGuideBuyerRelation(String account,
String openid,
String userOpenid,
String nickname)
为顾问分配客户(单个)
|
List<WxMpGuideBuyerResp> |
delGuideBuyerRelation(String account,
String openid,
List<String> buyerOpenIds)
为顾问移除客户(批量)
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/delguidebuyerrelation?
|
void |
delGuideBuyerRelation(String account,
String openid,
String userOpenid)
为顾问移除客户(单个)
|
WxMpGuideBuyerInfo |
getGuideBuyerRelation(String account,
String openid,
String userOpenid)
查询指定顾问和客户的关系
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyerrelation?
|
WxMpGuideBuyerRelation |
getGuideBuyerRelationByBuyer(String openid)
查询客户所属顾问
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyerrelationbybuyer?
|
WxMpGuideBuyerInfoList |
getGuideBuyerRelationList(String account,
String openid,
int page,
int num)
获取顾问的客户列表
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyerrelationlist?
|
List<WxMpGuideBuyerResp> |
rebindGuideAcctForBuyer(String oldAccount,
String oldOpenid,
String account,
String openid,
List<String> buyerOpenIds)
为客户更换顾问(批量)
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/rebindguideacctforbuyer?
|
void |
rebindGuideAcctForBuyer(String oldAccount,
String oldOpenid,
String account,
String openid,
String userOpenid)
为客户更换顾问(单个)
|
void |
updateGuideBuyerRelation(String account,
String openid,
String userOpenid,
String nickname)
修改客户昵称
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/updateguidebuyerrelation?
|
List<WxMpGuideBuyerResp> addGuideBuyerRelation(String account, String openid, List<WxMpAddGuideBuyerInfo> infos) throws WxErrorException
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/addguidebuyerrelation?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.addGuideBuyerRelation.html
account
- 顾问微信号(guide_account和guide_openid二选一,若同时请求,默认为guide_account)openid
- 顾问openid或者unionid(guide_account和guide_openid二选一)infos
- 客户列表WxErrorException
- .void addGuideBuyerRelation(String account, String openid, String userOpenid, String nickname) throws WxErrorException
account
- 顾问微信号(guide_account和guide_openid二选一,若同时请求,默认为guide_account)openid
- 顾问openid或者unionid(guide_account和guide_openid二选一)userOpenid
- 用户openidnickname
- 用户昵称WxErrorException
- .List<WxMpGuideBuyerResp> delGuideBuyerRelation(String account, String openid, List<String> buyerOpenIds) throws WxErrorException
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/delguidebuyerrelation?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.delGuideBuyerRelation.html
account
- 顾问微信号(guide_account和guide_openid二选一,若同时请求,默认为guide_account)openid
- 顾问openid或者unionid(guide_account和guide_openid二选一)buyerOpenIds
- 客户openid列表,不超过200WxErrorException
- the wx error exceptionvoid delGuideBuyerRelation(String account, String openid, String userOpenid) throws WxErrorException
account
- 顾问微信号(guide_account和guide_openid二选一,若同时请求,默认为guide_account)openid
- 顾问openid或者unionid(guide_account和guide_openid二选一)userOpenid
- 用户openidWxErrorException
- .WxMpGuideBuyerInfoList getGuideBuyerRelationList(String account, String openid, int page, int num) throws WxErrorException
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyerrelationlist?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.getGuideBuyerRelationList.html
account
- 顾问微信号(guide_account和guide_openid二选一,若同时请求,默认为guide_account)openid
- 顾问openid或者unionid(guide_account和guide_openid二选一)page
- 分页页数,从0开始,用于组内顾问分页获取num
- 每页数量WxErrorException
- .List<WxMpGuideBuyerResp> rebindGuideAcctForBuyer(String oldAccount, String oldOpenid, String account, String openid, List<String> buyerOpenIds) throws WxErrorException
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/rebindguideacctforbuyer?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.rebindGuideAcctForBuyer.html
oldAccount
- 原顾问微信号(old_guide_account和new_guide_account配套使用)oldOpenid
- 原顾问openid或者unionid(old_guide_openid和new_guide_openid配套使用)account
- 新顾问微信号(new_guide_account和new_guide_openid二选一)openid
- 新顾问openid或者unionid(new_guide_account和new_guide_openid二选一)buyerOpenIds
- 客户列表,不超过200WxErrorException
- .void rebindGuideAcctForBuyer(String oldAccount, String oldOpenid, String account, String openid, String userOpenid) throws WxErrorException
oldAccount
- 原顾问微信号(old_guide_account和new_guide_account配套使用)oldOpenid
- 原顾问openid或者unionid(old_guide_openid和new_guide_openid配套使用)account
- 新顾问微信号(new_guide_account和new_guide_openid二选一)openid
- 新顾问openid或者unionid(new_guide_account和new_guide_openid二选一)userOpenid
- 用户openidWxErrorException
- 。void updateGuideBuyerRelation(String account, String openid, String userOpenid, String nickname) throws WxErrorException
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/updateguidebuyerrelation?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.updateGuideBuyerRelation.html
account
- 顾问微信号(guide_account和guide_openid二选一,若同时请求,默认为guide_account)openid
- 顾问openid或者unionid(guide_account和guide_openid二选一)userOpenid
- 客户openidnickname
- 客户昵称WxErrorException
- .WxMpGuideBuyerRelation getGuideBuyerRelationByBuyer(String openid) throws WxErrorException
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyerrelationbybuyer?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.getGuideBuyerRelationByBuyer.html
openid
- 客户openidWxErrorException
- .WxMpGuideBuyerInfo getGuideBuyerRelation(String account, String openid, String userOpenid) throws WxErrorException
请求地址: POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyerrelation?access_token=ACCESS_TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.getGuideBuyerRelation.html
account
- 顾问微信号(guide_account和guide_openid二选一,若同时请求,默认为guide_account)openid
- 顾问openid或者unionid(guide_account和guide_openid二选一)userOpenid
- 客户openidWxErrorException
- .Copyright © 2024. All rights reserved.