外部系统向ECSTORE中 添加退货单
| 参数 | 类型 | 是否必须 | 说明 |
|---|---|---|---|
| order_bn | string | Y | 支付订单号 |
| reship_bn | string | Y | 退货单号 |
| items | json | Y | 订单发货明细 |
| delivery | string | Y | 配送方式 |
| logistics_code | string | N | 物流公司代码 |
| ship_distinct | string | Y | 当地名称 |
| money | double | Y | 支付金额 |
| order_bn | string | N | 订单单号 |
| is_protect | bool | Y | 是否保价(true或false,默认false) |
| delivery_bn | string | Y | 发货中心单号 |
| logi_no | string| Y | 物流单号 | |
| logi_name | string | Y | 物流公司 |
| ship_name | string | Y | 收货人 |
| ship_states | string | Y | 支付结束时间 |
| ship_city | string | Y | 城市 |
| ship_addr | string | Y | 收货地址 |
| ship_zip | string | Y | 邮政编码 |
| ship_tel | string | Y | 收货人手机 |
| ship_mobile | string | Y | 收货人电话 |
| ship_email | string | Y | 收货人邮箱 |
| memo | string | Y | 订单备注 |
| member_id | string | Y | 用户ID |
| timestamp | string | Y | 开始时间 |
| buyer_uname | string | Y | 购买人 |
| status | string | Y | 状态 |
items为json格式,具体参数如下:
| 参数 | 类型 | 是否必须 | 说明 |
|---|---|---|---|
| item_id | string | Y | 订单详细ID |
| order_id | string | Y | 订单号 |
| item_type | string | Y | 商品类型 |
| product_id | string | Y | 货品ID |
| product_bn | string | Y | 货号 |
| nums | string | Y | 购买数量 |
| sendnum | string | Y | 发货数量 |
| product_name | string | Y | 商品名称 |
| number | string | Y |
退货单创建成功后,返回结果
Array
(
[rsp] => succ
[res] =>
[data] => Array
(
[reship_id] => P123456
[tid] => 20101011189112
)
)