POST 查询 ASN 状态

POST /apicenter/api/asn/status

Body 请求参数

  1. {
  2. "asn_number": "testck-0919-00223",
  3. "client_code": "CK2023"
  4. }

请求参数

名称 位置 类型 必选 说明
asn_number Request Body String ASN编号
client_code Request Body String 客户代码

返回示例

成功

  1. {
  2. "code": 201,
  3. "data": {
  4. "centre_code": "CKMX",
  5. "asn_number": "testck-0919-00223",
  6. "confirmed_at": "",
  7. "type": "http://demo.yunyancang.com:8878/api/print-mark?type=eyJ0eXBlIjoiMjQ5Iiwib3JkZXJfaWQiOjYwfQ=="
  8. "boxes": 1,
  9. "pallets": "",
  10. "PackCompletedTime": "",
  11. "items": [
  12. {
  13. "code": "0.01.0002",
  14. "po_date": "",
  15. "length": "1.00",
  16. "weight": "1.00",
  17. "volume": "0.000001",
  18. "po_number": "",
  19. "lot_no": "testckpno-0919-223-001",
  20. "manufacture_at": "",
  21. "qty": 100,
  22. "width": "1.00",
  23. "expire_at": "",
  24. "in_qty": 0,
  25. "barcode": "",
  26. "height": "1.00",
  27. "exist_sn": false,
  28. "detail": [
  29. {
  30. "item_number": "",
  31. "serial_number": "",
  32. "quantity": 0,
  33. "lot_no": "testckpno-0919-223-001",
  34. }
  35. ]
  36. }
  37. ],
  38. "status": "receiving"
  39. },
  40. "message": "success"
  41. }

返回结果

状态码 状态码含义 说明 数据模型
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