1.基本信息
入库单入库过程中,新增入库数量(增量),触发通知
2.参数信息
| 名称 | 名称 | 名称 | 名称 | 类型 | 说明 |
|---|---|---|---|---|---|
| platform | integer | 平台 | |||
| event_type | string | 事件 | |||
| timestamp | string | 时间 | |||
| data | object | 入库信息 | |||
| asn_id | string | 预发货单号 | |||
| total_box | string | 箱子总数量 | |||
| client_code | string | 客户编码 | |||
| box_list | object[] | 箱子信息 | |||
| po_number | string | 箱号 | |||
| product_list | object[] | 商品信息 | |||
| sku_code | string | 不带公司码的商品编码 | |||
| in_qty | integer | 入库增量 |
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": {"asn_id": "ASN98765432","client_code": "CK2023","total_box": 2,"receiving_date": "2024-08-01 05:06:07","box_list": [{"po_number": "ASN98765432-P001-01","product_list": [{"sku_code": "sku001","in_qty": 10},{"sku_code": "sku002","in_qty": 10},{"sku_code": "sku003","in_qty": 10}]{"po_number": "ASN98765432-P002-01","product_list": [{"sku_code": "sku001","in_qty": 10}]}]}}
4.响应
{"code":200}
