POST 查询 ASN 状态
POST /apicenter/api/asn/status
Body 请求参数
{"asn_number": "testck-0919-00223","client_code": "CK2023"}
请求参数
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| asn_number | Request Body | String | 是 | ASN编号 |
| client_code | Request Body | String | 是 | 客户代码 |
返回示例
成功
{"code": 201,"data": {"centre_code": "CKMX","asn_number": "testck-0919-00223","confirmed_at": "","type": "http://demo.yunyancang.com:8878/api/print-mark?type=eyJ0eXBlIjoiMjQ5Iiwib3JkZXJfaWQiOjYwfQ==","boxes": 1,"pallets": "","PackCompletedTime": "","items": [{"code": "0.01.0002","po_date": "","length": "1.00","weight": "1.00","volume": "0.000001","po_number": "","lot_no": "testckpno-0919-223-001","manufacture_at": "","qty": 100,"width": "1.00","expire_at": "","in_qty": 0,"barcode": "","height": "1.00","exist_sn": false,"detail": [{"item_number": "","serial_number": "","quantity": 0,"lot_no": "testckpno-0919-223-001",}]}],"status": "receiving"},"message": "success"}
返回结果
| 状态码 | 状态码含义 | 说明 | 数据模型 |
|---|---|---|---|
| 201 | Created | 操作成功 | data 字段包含了 ASN 信息 |
| 名称 | 类型 | 说明 | 版本 |
|---|---|---|---|
| centre_code | string | 仓库代码 | V1 |
| asn_number | string | 入库批次号 | V1 |
| confirmed_at | string | V1 | |
| status | string | 入库单状态 | V1 |
| type | string | 箱PDF文件URL | V1 |
| boxes | integer | 箱数 | V2 |
| pallets | integer | 托盘数 | V2 |
| PackCompletedTime | string | 包装完成时间 | V2 |
| items | array | V1 | |
| code | string | SKU ,ITEM_CODE物料编码 | V1 |
| po_date | string | V1 | |
| length | BigDecimal | 箱子的长度 | V1 |
| weight | BigDecimal | 箱子的重量 | V1 |
| volume | string | V1 | |
| po_number | string | 买家批次号 | V1 |
| lot_no | string | 箱号CARTON_NUMBER | V1 |
| manufacture_at | string | V1 | |
| qty | integer | 预报入库数量(计划)SHIPPED_QUANTITY: 发货数量 | V1 |
| width | BigDecimal | 箱子的宽度 | V1 |
| expire_at | string | V1 | |
| in_qty | integer | 实际SKU入库数量 | V1 |
| barcode | string | V1 | |
| height | BigDecimal | 箱子的高度 | V1 |
| exist_sn | Boolean | 是否存在序列号 | V2 |
| detail | array | Detailed_information: 详细信息列表 | V2 |
| item_number | string | ITEM_NUMBER: 物料编号 | V2 |
| serial_number | string | 序列号 sn编码 | V2 |
| quantity | integer | 实际SN入库数量 Quantity | V2 |
| lot_no | integer | 箱号 CARTON_NUMBER | V2 |
