https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent/API/order/get_order_detail.htmlhttps://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/API/aftersale/list.htmlhttps://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent/API/order/batchgetaftersaleorder.html
"price_info": {
"product_price": 6850,
"order_price": 6750,
"freight": 0,
"discounted_price": 100,
"is_discounted": true,
"original_order_price": 6850,
"estimate_product_price": 6750
}
订单号3206234603854759168,此单有2件不同的商品,接口返回的时候,并没有返回商品实付金额。那么优惠券该加到那件商品上呢?
只有退款的时候,才知道优惠券用在哪个商品上。但订单已经生成了,订单与退单对账的时候出现商品行金额不一致的情况
你好,麻烦提供下openid,out_order_id,APPID,请求包和回包
请求{"order_id":3206234603854759168}
返回{"errcode":0,"order":{"order_id":3206234603854759168,"create_time":"2022-09-21 23:13:23","update_time":"2022-10-15 20:19:26","status":200,"order_detail":{"product_infos":[{"product_id":105142700,"sku_id":477659018,"thumb_img":"https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SH/reserved/62e0ef54000bd0382f7ca7a35cc59609000000a000004f50","sale_price":3000,"sku_cnt":1,"title":"公牛(BULL) 插座/B系列带儿童保护门新国标插座/排插/插排/ GN-B8110H 全长1.8米二位总控","sku_attrs":[{"attr_key":"版本","attr_value":"GN-B8110H 全长1.8米二位总控"}],"on_aftersale_sku_cnt":0,"finish_aftersale_sku_cnt":1,"sku_code":"6970031947145","market_price":3000},{"product_id":105139025,"sku_id":477686106,"thumb_img":"https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SH/reserved/62e0f2ce000d7b3513248f99bc34b00b000000a000004f50","sale_price":3850,"sku_cnt":1,"title":"公牛(BULL)插座/B8系列黑色带儿童保护门新国标插座/排插/插排 GN-B8030H 三位总控全长1.8米(晴空蓝)","sku_attrs":[{"attr_key":"版本","attr_value":"GN-B8030H 三位总控全长1.8米(晴空蓝)"}],"on_aftersale_sku_cnt":0,"finish_aftersale_sku_cnt":1,"sku_code":"6970031948371","market_price":3850}],"pay_info":{"pay_method":"微信支付","prepay_id":"wx2123132443468218b49bdb607dcc5f0000","prepay_time":"2022-09-21 23:13:24","pay_time":"2022-09-21 23:13:30","transaction_id":"4200001593202209216709763193"},"price_info":{"product_price":6850,"order_price":6750,"freight":0,"discounted_price":100,"is_discounted":true,"original_order_price":6850,"estimate_product_price":6750},"delivery_info":{"address_info":{"user_name":"凡哥","postal_code":"201100","province_name":"上海市","city_name":"上海市","county_name":"闵行区","detail_info":"闵行区春中路368号上海公牛电器","national_code":"310112","tel_number":"13310036139"},"delivery_method":"快递","express_fee":[{"shipping_method":"ShippingMethod_Express"}],"delivery_product_info":[{"waybill_id":"","delivery_id":"STO","product_infos":[{"product_id":105142700,"sku_id":477659018,"product_cnt":1},{"product_id":105139025,"sku_id":477686106,"product_cnt":1}],"delivery_time":1664177589}],"ship_done_time":1664177589,"insurance_info":{"type":"InsuranceSourceType_None","insurance_price":0},"deliver_type":"DELIVERY_TYPE_OPTIONAL_EXPRESS","offline_delivery_time":0,"offline_pickup_time":0},"coupon_info":{"coupon_id":[]}},"aftersale_detail":{"aftersale_order_list":[{"aftersale_order_id":1205489243359868,"status":13},{"aftersale_order_id":1205646242124868,"status":13}],"on_aftersale_order_cnt":0},"openid":"o7bat5M_s3Z_q5VhYXNj8Bm7ZFCw","ext_info":{"customer_notes":"","merchant_notes":""},"order_type":0}}