收藏
回答

自定义交易组件,选择无需物流发货,在订单中心显示未发货?

默认创建订单时,delivery_type选的是正常快递,在选择无需物流发货时,重新调用创建订单接口,将delivery_type改为无需快递,然后调用发货接口,调用查询订单接口,status显示为100,但是在订单中心显示状态还是待发货。

请求地址:

https://api.weixin.qq.com/shop/order/get?access_token=54_I0rV4ChpsY7RS5BZpLkj3lmiVXc2hOXJbzPmceA1JbS3DZEeMX5Nu1TgWhDaZlNVFMDPrTJa1JG3sSVRGN-JHCUfzkswJZJVqk-9UzcxllMqq8nCMUIG58zdE5-iCeL-KKf72aszEg5hFN_4UEGfAKDEOQ


请求体:

{
    "out_order_id": "1861",
    "openid": "oITYd5Pnjlr_UdMhF1xT7Nr_vFLU"
}


返回结果:

{
    "errcode": 0,
    "order": {
        "order_id": 3301541363568738816,
        "out_order_id": "1861",
        "openid": "oITYd5Pnjlr_UdMhF1xT7Nr_vFLU",
        "create_time": "2022-02-26 06:05:12",
        "order_detail": {
            "product_infos": [
                {
                    "product_id": 418787079,
                    "out_product_id": "2299",
                    "out_sku_id": "11444",
                    "product_cnt": 1,
                    "sale_price": 2,
                    "title": "鲜花特惠",
                    "head_img": "https://img2.super0.net/aYtIWOeznDwbEWhAJpng3y7lLevkAKwg.jpg?imageView2/1/w/228/h/228/",
                    "path": "/pages/online/goods_detail?id=2299",
                    "sku_attrs": []
                }
            ],
            "pay_info": {
                "prepay_id": "wx26180511727441652c2365bdf0cc1b0000",
                "prepay_time": "2022-02-26 06:05:11",
                "transaction_id": "4200001334202202269158891998",
                "pay_time": "2022-02-26 18:05:24",
                "pay_method_type": 0
            },
            "price_info": {
                "freight": 0,
                "discounted_price": 0,
                "additional_price": 0,
                "additional_remarks": "积分抵扣",
                "final_price": 2,
                "order_price": 1
            },
            "pay_info_list": [],
            "promotion_info": {
                "promoter_id": "GJ-I60cK18CDxKKFWq0CZH6b3lnYUBJB51mnjHqMCPA"
            }
        },
        "delivery_detail": {
            "delivery_type": 2,
            "finish_all_delivery": 1,
            "delivery_list": []
        },
        "status": 100,
        "path": "/pages/mine/order_detail?id=1861",
        "update_time": "2022-02-26 18:06:01",
        "address_info": {
            "receiver_name": "liu",
            "detailed_address": "101",
            "tel_number": "18617076231",
            "country": "中国",
            "province": "北京市",
            "city": "北京市",
            "town": "东城区"
        },
        "order_type": 0
    }
}
最后一次编辑于  2022-02-28
回答关注问题邀请回答
收藏

2 个回答

  • 头腾
    头腾
    2022-05-15

    视频号目前仅支持快递

    2022-05-15
    有用 1
    回复
  • 🧸
    🧸
    发表于移动端
    2022-03-01
    19元给
    2022-03-01
    有用
    回复
登录 后发表内容