收藏
回答

订单3724773331969907200 商品没返回sku_code?

AppID
wx1dccb051d17279d3

您好,帮忙看看订单商品为什么不返回sku_code呢?商家后台是有

【POST】请求url:https://api.weixin.qq.com/channels/ec/order/get
请求数据:{"order_id":"3724773331969907200"}
[Header]{Content-Type=application/json;charset=UTF-8}
返回:{"errcode":0,"errmsg":"ok","order":{"order_id":"3724773331969907200","create_time":1734492839,"update_time":1734492850,"status":20,"order_detail":{"product_infos":[{"product_id":"10000164539360","sku_id":"2795375838","thumb_img":"https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SH/reserved/6752ab4500082a950bc0fb42bf3e0315000000a000004f50","sale_price":6990,"sku_cnt":1,"title":"[新品22片]德和黑猪云腿午餐肉火锅酸辣粉螺蛳粉好搭档开袋即食云南特产","on_aftersale_sku_cnt":0,"finish_aftersale_sku_cnt":0,"sku_code":"DHZBgdbwcr500g2yw","market_price":11990,"sku_attrs":[{"attr_key":"规格/净含量","attr_value":"250g*2德和黑猪高蛋白午餐肉(原味)"}],"real_price":6990,"is_discounted":false,"estimate_price":6990,"out_warehouse_id":"","sku_deliver_info":{"stock_type":0},"extra_service":{"seven_day_return":1,"freight_insurance":1},"voucher_list":[],"order_product_coupon_info_list":[],"package_sku_list":[],"delivery_deadline":1734665649,"merchant_discounted_price":0,"finder_discounted_price":0,"product_unique_id":"3724773331969907200_001"},{"product_id":"17000000824046","sku_id":"2865720958","thumb_img":"https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SH/reserved/6760d944000e8bf20c59e5164b07bd1e000000a000004f50","sale_price":590,"sku_cnt":1,"title":"德和黑猪高蛋白午餐肉(玉米味)25g*1片","on_aftersale_sku_cnt":0,"finish_aftersale_sku_cnt":0,"sku_code":"","market_price":0,"sku_attrs":[],"real_price":0,"is_discounted":false,"estimate_price":0,"sku_deliver_info":{"stock_type":0},"extra_service":{"seven_day_return":0,"freight_insurance":0},"voucher_list":[],"order_product_coupon_info_list":[],"package_sku_list":[],"delivery_deadline":1734665649,"merchant_discounted_price":0,"finder_discounted_price":0,"is_free_gift":1,"product_unique_id":"3724773331969907200_002"},{"product_id":"17000000844056","sku_id":"2865892125","thumb_img":"https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SH/reserved/6760d7b0000e0c1d0d4ac1963f7e0d15000000a000004f50","sale_price":590,"sku_cnt":1,"title":"德和黑猪高蛋白午餐肉(原味)25g*1片","on_aftersale_sku_cnt":0,"finish_aftersale_sku_cnt":0,"sku_code":"","market_price":0,"sku_attrs":[],"real_price":0,"is_discounted":false,"estimate_price":0,"sku_deliver_info":{"stock_type":0},"extra_service":{"seven_day_return":0,"freight_insurance":0},"voucher_list":[],"order_product_coupon_info_list":[],"package_sku_list":[],"delivery_deadline":1734665649,"merchant_discounted_price":0,"finder_discounted_price":0,"is_free_gift":1,"product_unique_id":"3724773331969907200_003"}],"pay_info":{"payment_method":1,"prepay_id":"up_wx18113400858582409017ea7696acd90000","prepay_time":1734492840,"pay_time":1734492849,"transaction_id":"4312902252202412187128007302"},"price_info":{"product_price":6990,"order_price":6990,"freight":0,"estimate_product_price":6990,"merchant_receieve_price":6990,"merchant_discounted_price":0,"finder_discounted_price":0},"delivery_info":{"address_info":{"user_name":"杨**","postal_code":"675600","province_name":"云南省","city_name":"大理白族自治州","county_name":"弥渡县","detail_info":"****","national_code":"","tel_number":"138****0978","house_number":"","virtual_order_tel_number":"","use_tel_number":0,"hash_code":"db55cf211b0052152b41fe3e900df8be"},"delivery_product_info":[],"ship_done_time":0,"deliver_method":0,"ewaybill_order_code":"ofveA03CQq9QPUzUx_mobYTwo0hsJBGOAgRBR6ia_5nK4iirsX3Bh99lcCP5C9ri4ToXlfgs2jog"},"ext_info":{"customer_notes":"","merchant_notes":"","finder_id":"sphYrqwh8jIfvqP","live_id":"export/UzFfAgtgekIEAQAAAAAArjcm6MJv_AAAAAstQy6ubaLX4KHWvLEZgBPEpIBcUW1CI5CKzNPgMJrNgPn41YllE1rSOoCZefkh","order_scene":2},"commission_infos":[],"sharer_info":{"handling_progress":1},"settle_info":{"predict_commission_fee":69},"sku_sharer_infos":[],"source_infos":[{"sku_id":"2795375838","account_type":1,"account_id":"sphYrqwh8jIfvqP","sale_channel":0,"account_nickname":"百年德和"}]},"aftersale_detail":{"aftersale_order_list":[],"on_aftersale_order_cnt":0},"openid":"oNmlx7StwQmasgwn8FkWgS1xZrqo"}}
回答关注问题邀请回答
收藏

1 个回答

  • 微信小店技术助手-1
    微信小店技术助手-1
    2024-12-20

    您好,订单详情api现在只返回了sku_code,没有返回spu_code,两个赠品因为只有spu_code没有sku_code,没有返回sku_code符合预期

    2024-12-20
    有用
    回复
登录 后发表内容
问题标签