冰河系统订单取消API_V1.0.md

2017-05-15  本文已影响0人  higoIT

订单取消

方法名: /oms/api/v1/order/cancelSalesOrder.do
测试地址为: http://test.higo-express.cn/oms/api/v1/order/cancelSalesOrder.do
正式地址为: http://oms.higo-express.cn/oms/api/v1/order/cancelSalesOrder.do

参数

{
  "operateDatetime": "2015-09-14 18:02:58",
  "userKey": "accessUserName",
  "userValue": "123456",
  "json":{
        "sourceOrderNO":"DX123456789",
        "reason":" 客户取消"
    }
}

参数说明

参数名 是否必须 描述 示例
operateDatetime 发生时间 2015-09-14 18:02:58
userKey 授权用户名 userKey
userValue 授权密码 123456
sourceOrderNO 来源单号,传入黑狗的原始单号 DX123456789
reason 销售单取消原因 客户取消

成功返回值

{"data":"","list":[],"code":"success","msg":"取消成功:","fail":false}

失败返回值

{"data":"","list":[],"code":"failed","msg":"sourceOrderNO为空:","fail":true}

上一篇下一篇

猜你喜欢

热点阅读