POST api/Yaolian/OrderConfirm
订单状态接口(确认,退单接口)
请求的信息
URI参数
None.
Body参数
YaolianOrderConfirmCondition名称 | 描述 | 类型 | 其它信息 |
---|---|---|---|
order_id |
订单id |
string |
None. |
orderCode |
海王订单号 |
string |
None. |
orderStatus |
订单状态 99客户取消,98药联取消,2已确认(只能传这三个状态) 退单传99 确认订单传2 |
integer |
None. |
payStatus |
支付状态 10未支付 30 已支付 |
integer |
None. |
appKey |
合作方接入认证标识(海王提供对应商户编码)--必填 |
string |
None. |
timeStamp |
10位时间戳 格式为long,时区为GMT+8。开放平台允许合作方请求最大时间误差为10分钟 |
integer |
None. |
version |
API协议版本,可选值:1.0 |
string |
None. |
sign |
签名值 --必填 |
string |
None. |
请求格式
application/json, text/json
Sample:
{ "order_id": "sample string 1", "orderCode": "sample string 2", "orderStatus": 3, "payStatus": 4, "appKey": "sample string 5", "timeStamp": 6, "version": "sample string 7", "sign": "sample string 8" }
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
CustomJsonResultOfJsonResult名称 | 描述 | 类型 | 其它信息 |
---|---|---|---|
Content | JsonResult |
None. |
响应格式
application/json, text/json
Sample:
{ "content": { "$id": "2", "code": 1, "msg": "sample string 2", "data": "sample string 3" } }