散件下单接口
POST
/v1/order/pushOrder接口描述
散件下单接口
请求参数
{ "appid": "000001", "backparam": "散单测试", "backurl": "", "freight": 10, "items": [ { "name": "衣服", "number": 1, "remark": "袜子" } ], "other_charges": 0, "premium": 1, "receiver": { "address": "青浦区盈港东路 6679 号", "city": "上海市", "company": "", "county": "青浦区", "mobile": "17601205970", "name": "李四", "phone": "", "postcode": "string", "province": "上海市" }, "remark": "string", "sendendtime": "2019-09-03 11:00:00", "sender": { "address": "盈港东路 7766 号", "city": "上海市", "company": "string", "county": "青浦区", "mobile": "17601205970", "name": "张三", "phone": "", "postcode": "", "province": "上海市" }, "sendstarttime": "2019-09-03 10:00:00", "size": "0.12,0.23,0.11", "special": 0, "value": 126.5, "weight": 0 }
详细地址 必须添加省市区并以半角逗号隔开
固定电话固定电话或移动电话至少填一项
详细地址 必须添加省市区并以半角逗号隔开
固定电话 固定电话或移动电话至少填一项
取件开始时间(yyyy-MM-dd HH:mm:ss )
货物大小(米),用半角的逗号来分隔长宽高
商品类型(见商品类型字段)
{
"appid": "000001",
"backparam": "散单测试",
"backurl": "",
"freight": 10,
"items": [
{
"name": "衣服",
"number": 1,
"remark": "袜子"
}
],
"other_charges": 0,
"premium": 1,
"receiver": {
"address": "青浦区盈港东路 6679 号",
"city": "上海市",
"company": "",
"county": "青浦区",
"mobile": "17601205970",
"name": "李四",
"phone": "",
"postcode": "string",
"province": "上海市"
},
"remark": "string",
"sendendtime": "2019-09-03 11:00:00",
"sender": {
"address": "盈港东路 7766 号",
"city": "上海市",
"company": "string",
"county": "青浦区",
"mobile": "17601205970",
"name": "张三",
"phone": "",
"postcode": "",
"province": "上海市"
},
"sendstarttime": "2019-09-03 10:00:00",
"size": "0.12,0.23,0.11",
"special": 0,
"value": 126.5,
"weight": 0
}
示例代码
返回响应
pdf参数信息(根据客户的需求返回json格式数据或对json格式进行加密后的数据
返回状态,1表示成功,0表示失败
成功或者错误的提示信息
{
"result": true,
"code": "0000",
"message": "请求成功",
"data": {
"backparam": "散单测试",
"orderid": "14437042180846542"
}
}