小商店获取订单列表API接口中access_token如何获取?

小程序 文章 2021-03-02 16:21 454 0 全屏看文

AI助手支持GPT4.0

小商店获取订单列表API接口中access_token如何获取?How to obtain the access_token in the API interface of the small store to obtain the order list?

小商店获取订单列表API接口中access_token如何获取?
目前我已经开通了组件版微信小商店也已经产生了订单,现在我们自己的web应用希望通过获取订单列表接口 https://api.weixin.qq.com/product/order/get_list?access_token=xxxxxxxxx,拉取到小商店支付成功的订单。现在遇到问题 上述接口的access_token参数如何获取呢?(是通过 https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=小程序APPID&secret=小程序APPSECRET 获取吗?)




At present, I have opened a component version of wechat, and the small store has also generated orders. Now our own web application hopes to get the order list interface https://api.weixin.qq.com/product/order/get_ list?access_ Token = XXXXXXXX, pull the successful order to the small store. Now we have a problem with the access of the above interface_ How to get the token parameter? (yes, by https://api.weixin.qq.com/cgi-bin/token?grant_ type=client_ Credential & appid = appid & Secret = appsecret

回答:

服务平台助手:

https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/api/api_authorizer_token.html

您好,希望以上信息对您有所帮助。


拾忆:

组件版的密钥和当前同一个小程序是完全一样的。

Mr.Zhao:

换成小商店appid和秘钥

Ashin:你好,但是‘店铺管理’--'基础信息'下面只有 AppId(小程序ID)和原始ID,哪儿能看到小商店appid和秘钥呢
Ashin:好像个人版 '基础信息'--'账号信息'下是有AppID(小程序ID)和AppSecret(小程序密钥),但是组件版同样菜单下 没有AppSecret(小程序密钥)
Mr.Zhao:组件版的不知道
Ashin:

文档真的是看不明白https://developers.weixin.qq.com/doc/ministore/minishopquickstart/introduction.html

大神可以具体指点一下是里面哪个部分文档可以解答我的疑问呢

-EOF-

AI助手支持GPT4.0