取消面单
接口方法
- cancelShipment
请求方式:
- POST
请求示例:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.example.org/">
<SOAP-ENV:Body>
<ns1:callService>
<paramsJson>
{
"order_code":"YB-XX-19110400003",
"reference_no":"XX-19110400004",
"reason":"取消订单原因"
}
</paramsJson>
<appToken>appToken</appToken>
<appKey>appKey</appKey>
<service>cancelShipment</service>
</ns1:callService>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
请求参数:
参数 | 类型 | 是否必填 | 说明 | 长度限制 |
---|---|---|---|---|
order_code | String | 否 | 面单号(面单号和参考编号必须填一个) | 30 |
reference_no | String | 否 | 参考编号,即客户号(面单号和参考编号必须填一个) | 30 |
reason | String | 是 | 截单原因 | 200 |
返回结果示例:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SOAP-ENV:Envelope xmlns:ns1="http://www.example.org/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ns1:callServiceResponse>
<response>
{
"ask":"Success",
"message":"Success",
"nextPage":false
}
</response>
</ns1:callServiceResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
返回参数:
参数 | 类型 | 说明 |
---|---|---|
ask | String | 返回结果,Success表示请求成功,Failure表示请求失败 |
message | String | 返回信息 |
nextPage | boolean | true 有下一页,false 没有下一页 |
Error | Object | 参考Error格式 |
作者:WesternPost 创建时间:2021-07-02 23:58
更新时间:2024-07-18 20:07
更新时间:2024-07-18 20:07