37Express下单接口(V2)

第2版


预约上门取件

简要描述
  • 必须是先调用了“创建运单”接口,才能使用本接口
请求URL
  • https://www.37-express.com/qyfr/api/parcel/v2/
请求方式
  • POST
参数
参数名 必选 类型 说明
account object 账号信息
account/email string 用户名
account/password string 密码
appointmentPickup object 正文数据
appointmentPickup/incrementId string 接口“创建运单”返回的唯一运单编号
appointmentPickup/appointment object 预约上门信息。注意:如果你并不想更换之前的地址或者预约时间,则不需要
appointmentPickup/appointment/pickupDate date 预约上门取件日期,格式必须是:YYYY-MM-DD
appointmentPickup/appointment/company string 您的公司名
appointmentPickup/appointment/name string 联系人
appointmentPickup/appointment/countryCode string 国家,目前只允许FR
appointmentPickup/appointment/city string 上门城市
appointmentPickup/appointment/street string 上门街道地址
appointmentPickup/appointment/room string 门牌号
appointmentPickup/appointment/floor string 楼层
appointmentPickup/appointment/postalCode string 上门地址的邮编
appointmentPickup/appointment/phoneNumber string 联系电话
appointmentPickup/appointment/isHome string 是否家庭地址。是用Y,否用N
appointmentPickup/appointment/remarks string 其它特别说明
请求示例
{
    "account": {
        "email": "test@test.com",
        "password": "test_test_test_test"
    },
    "appointmentPickup": {
        "incrementId":"78284091"
    }
}
返回示例
{
    "success": true,
    "appointmentPickup":{
        "status":3
    }
}
返回参数说明
参数名 类型 说明
status int 1: 等待提交申请,<br />2: 等待审核,<br />3: 提交成功,等待上门
出错返回示例
{
    &quot;success&quot;: false,
    &quot;message&quot;: &quot;Invalid login or password.&quot;
}

页面列表

ITEM_HTML