1.文档位置:电子面单管理-->电子面单子件追加:https://developers.weixin.qq.com/doc/store/API/ewaybill/add_suborder.html
2.请求
curl -X POST "https://api.weixin.qq.com/channels/ec/logistics/ewaybill/biz/order/addsuborder?access_token=xxx" \
-d '{"shop_id":"5009834488223","ewaybill_order_id":4121800000311523,"waybill_id":"SF3112244823854","delivery_id":"SF","ewaybill_acct_id":"6634794483","template_id":"6634582862","add_package_quantity":1}'
3.返回结果:{"errcode":10025020,"errmsg":"EWaybill Order ID 的数据内容是Uint64,用字符串传递参数,请确认是否正确 rid: 6773ad50-49dea3bb-246547eb","waybill_id_list":[]}
字符串还要demo?
{"errcode":47001,"errmsg":"data format error, field \"ewaybill_order_id\" does't expect a string value \"4121800000311523\" rid: 6775f1f1-104f1600-5dccae82"}
有人能给一个java代码的demo吗