通过API接口查询微信小店的订单数据,
https://api.weixin.qq.com/merchant/order/getbyfilter?access_token=XXXXXXXXX
,API接口返回的数据,还是没有“产品名称、单价、购买数量”这些信息,全是空的!!!!!!。。。。
product_name": "",
"product_price": 0,
"product_sku": "",
"product_count": 0,
请问这个问题多久能解决?
@Ltt, 现在订单数据已经有产品信息了,但是跟原文档描述的不一样。
{
“errcode”: 0,
“errmsg”: “ok”,
[
{
“order_id”: “14XXXXXXXX”,
“order_status”: 2,
“order_total_price”: 34XX0,
“order_create_time”: 1516XXX,
“order_express_price”: 0,
“buyer_openid”: “orqJhwwNXXXXXXXXXXddxY”,
“buyer_nick”: “bXXX”,
“receiver_name”: “XXX”,
“receiver_province”: “北京市”,
“receiver_city”: “北京市”,
“receiver_address”: “XXXXXX”,
“receiver_mobile”: “186XXXXX68”,
“receiver_phone”: “1861XXXX68”,
“product_id”: “prqJhwz1ogbCgW6p2GNxV14S2RjM”,
“product_name”: “”,
“product_price”: 0,
“product_sku”: “”,
“product_count”: 0,
“product_img”: “”,
“delivery_id”: “”,
“delivery_company”: “”,
“trans_id”: “4200000XXXXXXXX092”,
“receiver_zone”: “XX区”,
“receiver_zip”: “10XXX0”,
[
{
“product_id”: “prqJhwz6I4kSqYSKu8sDxKkBMBj8”,
“product_name”: “XXXX4KXXXX”,
“product_price”: 34900,
“product_sku”: “”,
“product_count”: 1,
“product_img”: “https://mmbiz.qpic.cn/mmbiz_jpg/XXXXXXXjpeg”
}
]
},
获得的数据如上。
product_id": “prqJhwz1ogbCgW6p2GNxV14S2RjM”,
“product_name”: “”,
“product_price”: 0,
“product_sku”: “”,
“product_count”: 0,
“product_img”: “”,
API文档描述的产品信息,依然为空。
但是现在下面多了一个
{}数据,
这个数据是正确的。
但是为什么,上面和下面的2个product_id,值不一样?