RESTFul API

 

 https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent/API/cat/get_freight_template.html

 

http请求方式:POST
https://api.weixin.qq.com/product/store/get_shopcat?access_token=xxxxxxxxx

 

http请求方式:POST
https://api.weixin.qq.com/product/offline/update_same_city_template?access_token=xxxxxxxxx

 

http请求方式:POST
https://api.weixin.qq.com/shop/register/apply?access_token=xxxxxxxxx

 

上传图片
接口调用请求说明
上传类目、品牌、商品时,需使用图片上传接口换取临时链接用于上传,上传后微信侧会转为永久链接。临时链接在微信侧永久有效,商家侧可以存储临时链接,避免重复换取链接。

微信侧组件图片域名,store.mp.video.tencent-cloud.com,mmbizurl.cn,mmecimage.cn/p/。

https://api.weixin.qq.com/shop/img/upload?access_token=xxxxxxxxx
请求示例
curl -F media=@test.jpg "https://api.weixin.qq.com/shop/img/upload?access_token=xxxxxxxxx" -F resp_type=0
请求参数说明

 

posted @ 2023-02-28 15:46  沧海一滴  阅读(33)  评论(0编辑  收藏  举报