收藏
回答

获取合作店铺订单,是否能返回订单状态和支付状态?


目前微信小店给合作方的小程序推送了订单号, 然后通过获取合作店铺订单的接口,获取到的数据,没有返回订单状态?

{
    "order": {
        "openid": "OPENID",
        "order_detail": {
            "product_infos": [
                {
                    "product_id": 234245,
                    "sku_id": 23424,
                    "sku_cnt": 10,
                    "title": "健身环",
                    "thumb_img": "https://mmecimage.cn/p/wx37f38d59298839c3/HJE9eJaEc5bJk-eaArVdILSB7MMaHgdK2-JIn51nMQ",
                    "sale_price": 2000,
                    "market_price": 2000,
                    "sku_attrs": [
                        {
                            "attr_key": "产地",
                            "attr_value": "四川成都"
                        },
                        {
                            "attr_key": "材质",
                            "attr_value": "玻璃"
                        },
                        {
                            "attr_key": "适用人群",
                            "attr_value": "青年;中年"
                        },
                        {
                            "attr_key": "数量",
                            "attr_value": "33"
                        },
                        {
                            "attr_key": "精度",
                            "attr_value": "3.001"
                        },
                        {
                            "attr_key": "重量",
                            "attr_value": "38 mg"
                        },
                        {
                            "attr_key": "毛重",
                            "attr_value": "380 kg"
                        }
                    ]
                }
            ],
            "price_info": {
                "product_price": 20000,
                "order_price": 10500,
                "freight": 500,
                "discounted_price": 10000,
                "is_discounted": true
            }
        }
    }
}

 这个数据我发现未支付的订单也能获取到,取消的订单也能获取到,退了订单也能获取到.
 不明白设计这个接口的目的是啥? 让合作方怎么使用订单信息呢?
回答关注问题邀请回答
收藏
登录 后发表内容
问题标签