收藏
回答

发货信息录入接口,同城配送方式,报错“统一发货模式下,物流信息列表长度必须为1”?

发货信息录入接口接口地址:POST https://api.weixin.qq.com/wxa/sec/order/upload_shipping_info?access_token=ACCESS_TOKEN

入参:
{"order_key":{"transaction_id":"42000022072024","order_number_type":2},"payer":{"openid":"oAV-o6"},"shipping_list":[{"item_desc":"在一起ZYQ3808干湿两用卷纸5000g32卷128高*1箱","express_company":"OTHER","tracking_no":"12345678","contact":{"receiver_contact":"137****4934"}},{"item_desc":"心相印LR1112茶语丝享4层无芯150克12卷1800g*12提","express_company":"OTHER","tracking_no":"12345678","contact":{"receiver_contact":"137****4934"}},{"item_desc":"心相印RW912心柔3层150克12卷1800g*12提","express_company":"OTHER","tracking_no":"12345678","contact":{"receiver_contact":"137****4934"}},{"item_desc":"西牧天山3.1插画砖纯牛奶*3提","express_company":"OTHER","tracking_no":"12345678","contact":{"receiver_contact":"137****4934"}}],"upload_time":"2024-03-10T00:01:02.300+08:00","logistics_type":2,"delivery_mode":1

报错   统一发货模式下,物流信息列表长度必须为1 rid: 65ec87be-6a1430d7-46a1823f

这是什么原因造成的


回答关注问题邀请回答
收藏

2 个回答

  • 神经蛙
    神经蛙
    03-10
    统一发货shipping_list 数组只能有一个元素
    
    03-10
    有用 2
    回复
  • shaul
    shaul
    03-11

    多个商品时,怎么处理呢?

    03-11
    有用
    回复 1
    • 许我半盏清茶丶
      许我半盏清茶丶
      10-16
      你是怎么处理的,字符串拼接的吗
      10-16
      回复
登录 后发表内容