和
添加配送单和预配送单的时候返回结果:
{
"resultcode": 1202,
"resultmsg": "抱歉,所选时间不在商圈服务时间范围内,请更改",
"fee": 0,
"deliverfee": 0,
"couponfee": 0,
"tips": 0,
"distance": 0,
"waybill_id": "",
"order_status": 0,
"finish_code": 0,
"pickup_code": 0,
"dispatch_duration": 0,
"sender_lng": 0,
"sender_lat": 0
}
请求报文:部分数据使用XX替换
{
"shopid": "1652290308",
"shop_order_id": "YY230109172116426176",
"shop_no": "6267529230625",
"delivery_sign": "44f486f0ed0825466c5c2626c08252a3f7c5bc08",
"delivery_id": "SFTC",
"openid": "oGkON4jlzUKVwGIr1qlV0hZ-IkII",
"sender": {
"name": "发货地址测试",
"city": "云南省昭通市",
"address": "白鹤滩镇月亮山庄旁边",
"address_detail": "白鹤滩镇月亮山庄旁边",
"phone": "1XXXX",
"lng": 102.932442,
"lat": 26.913639,
"coordinate_type": 0
},
"receiver": {
"name": "XX",
"city": "云南省昭通市",
"address": "云南省昭通市",
"address_detail": "白鹤滩镇过境路县XXX",
"phone": "183XXX",
"lng": 102.936452,
"lat": 26.907511,
"coordinate_type": 0
},
"cargo": {
"goods_value": 0.1,
"goods_weight": 1.0,
"goods_detail": {
"goods": [{
"good_count": 1,
"good_name": "第一店"
}]
},
"cargo_first_class": "果蔬生鲜",
"cargo_second_class": "果蔬"
},
"order_info": {
"order_time": 1673257667,
"is_insured": 0,
"is_finish_code_needed": 0
},
"shop": {
"wxa_path": "pages/index/index",
"img_url": "http://cdn.xcx.weijuju.com/2022/11/common/317525/e1c208ad-f6a9-4567-82bd-3e676c60eeaa.png",
"goods_name": "第一店 1件;",
"goods_count": 1
},
"sub_biz_id": "1652290308"
}
在文档中没有对应的说明
这里result_msg信息是顺丰侧返回的错误信息。
针对顺丰的单,可以填一下order_info字段里面的时间字段。