1.基本信息
订单在执行自动审单中出现异常需要人工介入时,需要回推订单信息给到第三方OMS平台。
2.参数信息
| 名称 | 名称 | 类型 | 说明 |
|---|---|---|---|
| platform | integer | 平台 | |
| event_type | string | 状态 | |
| timestamp | string | 时间 | |
| data | object[] | 订单信息 | |
| order_id | string | 订单id | |
| order_number | string | 订单号 | |
| message | string | 异常信息 | |
| error_code | int | 错误码:1、 10001(余额不足) 、10002(未上传附件)、10003(库存不足) |
3.推送示例
POST /example/uri HTTP/1.1
Host: www.example.com
Content-Type: application/json
Content-Length: 1238
{"platform": "Mabang","event_type": "order_shipment","timestamp": "1722842715","data": {"order_id": "123456789","order_number": "xxxx2fff","message": "sku库存不足","error_code":"1"}}
4.响应
{"code":200}
