退货单创建

系统级参数

名称 类型 是否必须 示例 描述
v String 1.0 版本
format String json 格式,支持:json、xml
sign String 0d72e9537ece8864b7e29d392509fda7 签名
method String store.wms.returnorder.create 方法
timestamp int 1435912385 时间戳
task String 14364344528513665503176 任务号
wms_node_id String Wms在ERP唯一
callback_url String 回调URL

业务级参数

名称 类型 示例 描述
uniqid String 请求标识(在ISV即请求方系统中全局唯一),用于控制并发及去重
out_order_code String 退货单号
order_source WmsOrderSourcePlatform 订单来源平台
platform_order_code String 来源平台单号
orig_order_code String 原始发货单号
logistics_no String 快递单号
logistics_code String 快递公司编号
return_amount String 退货金额
remark String 备注
created Date 单据创建时间
wms_order_code String wms订单编号
is_finished String 该订单是否已完成,如果完成则设置为true,如果为false,则需要等待继续创建订单商品信息。
current_page String 当前分页数
total_page String 总分页数
receiver_name String 退货人姓名
receiver_zip String 退货人邮政编码
receiver_state String 退货人所在省,如浙江省、北京等
receiver_city String 退货人所在市,如杭州市、上海市等
receiver_district String 退货人所在县(区),注意有些市下面是没有区的,如:义乌市
receiver_address String 退货人的详细地址
receiver_phone String 退货人电话号码(如有分机号用“-”分隔)(电话和手机必选一项)
receiver_mobile String 退货人手机号码(电话和手机必选一项)
receiver_email String 退货人email地址
storage_code String 库内存放点编号
line_total_count String 订单商品明细总行数(即整个单据商品明细行数,而不是当前分页的商品明细行数)
item_total_num String 订单商品明细总数量
items WmsOrderItem 商品信息明细列表(json字符串)

请求参数示例

[{ 
    "uniqid": "d361e3f100cb80a63e7e116856d0e81b", 
    "wms_supplier": "", 
    "out_order_code": "201507101813004458", 
    "warehouse_code": "branch2", 
    "orig_order_code": "1507081100001", 
    "created": "2015-07-10 18:15:00", 
    "logistics_no": "", 
    "logistics_code": "", 
    "remark": "", 
    "platform_order_code": "201507080910009448", 
    "wms_order_code": "201507101813004458", 
    "is_finished": "true", 
    "current_page": "1", 
    "total_page": "1", 
    "receiver_name": "陈平", 
    "receiver_zip": "200003", 
    "receiver_state": null, 
    "receiver_city": "上海市", 
    "receiver_district": "徐汇区", 
    "receiver_address": null, 
    "receiver_phone": null, 
    "receiver_mobile": "", 
    "receiver_email": "", 
    "sign_code": "", 
    "dest_plan": "", 
    "line_total_count": 2, 
    "storage_code": "A2", 
    "items": "{\"item\":[{\"item_code\":\"test1\",\"item_name\":\"\\u6d4b\\u8bd5\\u5546\\u54c1\\u4e00\",\"item_quantity\":\"1\",\"item_price\":\"199.000\",\"item_line_num\":1,\"trade_code\":\"\",\"item_id\":\"\",\"is_gift\":\"0\",\"item_remark\":\"\",\"inventory_type\":\"1\"},{\"item_code\":\"test3\",\"item_name\":\"\\u6d4b\\u8bd5\\u5546\\u54c1\\u4e09\",\"item_quantity\":\"1\",\"item_price\":\"199.000\",\"item_line_num\":2,\"trade_code\":\"\",\"item_id\":\"\",\"is_gift\":\"0\",\"item_remark\":\"\",\"inventory_type\":\"1\"}]}", 
    "callback_url": "http://:/index.php/openapi/asynccallback/async_result_handler/id/143652335969041474122842-1436523359", 
    "task": "143652335969041474122842", 
    "v": "1.0", 
    "method": "store.wms.returnorder.create", 
    "format": "json", 
    "timestamp": 1436523359, 
    "wms_node_id": "o1111725941", 
    "sign": "586abecc8b669511ba0a0868f18ca934"
}]

响应结果

名称 类型 是否必须 示例 描述
wms_order_code String 第三方仓储的订单编号
created Date 订单创建时间
json格式:
{
    "rsp":"succ",
    "data":{
        "wms_order_code": "LP31209123123",
        "created": "2011-08-16 19:27:29"
    }
}

沪ICP备05002918号

© 2003-2017 ShopEx,Inc.All rights reserved.