视频号小店的API对接
https://developers.weixin.qq.com/doc/channels/API/order/get.html
我们在这个接口中获取到的delivery_info也是脱敏的,这样我们就没办法把客人的收货信息对接到我们的ERP系统中。
请求的参数如下:
https://api.weixin.qq.com/channels/ec/order/get?access_token=******
{
"order_id": "372427******41664",
"encode_sensitive_info": false
}
Response快递部分内容如下:
"delivery_info": {
"address_info": {
"user_name": "卢**",
"postal_code": "200050",
"province_name": "上海市",
"city_name": "上海市",
"county_name": "静安区",
"detail_info": "****",
"national_code": "888888",
"tel_number": "136****0255",
您好,获取敏感信息需要解密
https://developers.weixin.qq.com/doc/channels/API/order/decode_order_sensitive_info.html
30次不够用呀 详细地址都没有 我们有自己的仓储发货 不太可能直接对接免单额
这个接口现在不支持脱敏了,需要调用api脱敏:https://developers.weixin.qq.com/doc/store/API/order/decode_order_sensitive_info.html