1.基本信息
after_sale 退货入库成功,需要推送入库成功信息给第三方oms平台。
2.参数信息
| 名称 | 名称 | 名称 | 名称 | 类型 | 说明 |
|---|---|---|---|---|---|
| platform | integer | 平台 | |||
| event_type | string | 事件 | |||
| timestamp | string | 时间 | |||
| data | object | 退货单信息 | |||
| after_sale_order | string | 单号 | |||
| client_code | string | 店铺编码 | |||
| logistics_order | string | 退货物流单号 | |||
| refundProduct | object[] | 商品信息 | |||
| sku | string | sku | |||
| complete_time | string | 入库完成时间 | |||
| detail | object[] | 商品详情 | |||
| qty | integer | 数量 | |||
| type | integer | 类型,1:普通入库,2:残次品入库,3:报废入库 | |||
| centre_code | string | 入库仓库 |
3.示例
POST /example/uri HTTP/1.1
Host: www.example.com
Content-Type: application/json
Content-Length: 1238
{"platform": "Mabang","event_type": "ready_inbound","timestamp": "1722842715","data": {"after_sale_order": "AS000062","client_code": "CK2023","logistics_order": "LOG123456789-01","refundProduct": [["sku": "-ALB-908","complete_time": "2025-04-20 23:23:22","detail": [{"qty": "1","type": "1","centre_code": "CKMX",},{"qty": "2","type": "2","centre_code": "CKMX",},{"qty": "3","type": "3","centre_code": "",}]]]}}
4.响应
{"code":200}
