变更目的地


接口说明: 行程中乘客修改目的地操作,将通过该接口通知合作方。

接口提供方: 合作方

请求地址: https://{$domain}/partner/modifyDestination

服务协议: HTTPS/POST

请求参数:

参数名称 类型 必选 说明
channel string 分配的合作方的标识,每个合作方一个,对应分配给合作方的client_id
timestamp long 请求时间,UnixTimestamp单位毫秒
sign string 签名
mtOrderId string 美团订单号
partnerOrderId string 合作方订单号
lng double 终点经度
lat double 终点纬度
name string 终点名称,如"北京西站"
estimateId string 预估ID
fixedPrice int 修正后一口价价格,单位:分 - 特价车场景新增(不包含春节服务费)
fixedPriceFactor double 一口价干预比例(fixedPrice/预估价报价) - 特价车场景新增
modifyType int 修改类型 0:修改目的地、2::修改途经点、3:同时修改目的地和途径点。默认值 0
approachPoint list 途径点列表jsonString,带途径点下单时存在本字段,且内容不为空
approachPoint[].lon double 途经点经度
approachPoint[].lat double 途经点维度
approachPoint[].index int 途经点序号,从0开始
approachPoint[].name string 途经点名称

响应data参数:

参数名称 类型 必选 说明
result int 0:成功;非0:失败原因编号
message string 失败原因描述,若成功值可为空
{
  "result": 0,
  "message": "SUCCESS"
}

results matching ""

    No results matching ""