POST 查询 ASN 状态

POST /apicenter/api/asn/status

Body 请求参数

  1. {
  2. "client_code": "20",
  3. "client_type": 2,
  4. "asn_number": "DLW-230525-01"
  5. }

请求参数

名称 位置 类型 必选 说明
asn_number Request Body String ASN编号 ,预发货单号
client_code Request Body String 客户代码
client_type Request Body integer 自定义平台为1,第三方平台为2

返回示例

成功

  1. {
  2. "code": 201,
  3. "data": {
  4. "centre_code": "dlw",
  5. "asn_number": "DLW-230525-01",
  6. "confirmed_at": "",
  7. "warehousing_time": "",
  8. "type": "http://demo.yunyancang.com:8878/api/print-mark?type=eyJ0eXBlIjoiMSIsIm9yZGVyX2lkIjoiMzczOCwifQ==",
  9. "items": [
  10. {
  11. "code": "DLW-01",
  12. "po_date": "",
  13. "length": "2.00",
  14. "weight": "2.00",
  15. "decals_qty": 3,
  16. "volume": "0.000008",
  17. "po_number": "",
  18. "lot_no": "DLW-230525-01-P001-1",
  19. "manufacture_at": "",
  20. "qty": 100,
  21. "width": "2.00",
  22. "expire_at": "",
  23. "in_qty": 2,
  24. "barcode": "",
  25. "height": "2.00"
  26. },
  27. {
  28. "code": "DLW-01",
  29. "po_date": "",
  30. "length": "2.00",
  31. "weight": "2.00",
  32. "decals_qty": 3,
  33. "volume": "0.000008",
  34. "po_number": "",
  35. "lot_no": "DLW-230525-01-P001-2",
  36. "manufacture_at": "",
  37. "qty": 100,
  38. "width": "2.00",
  39. "expire_at": "",
  40. "in_qty": 2,
  41. "barcode": "",
  42. "height": "2.00"
  43. },
  44. {
  45. "code": "DLW-01",
  46. "po_date": "",
  47. "length": "2.00",
  48. "weight": "2.00",
  49. "decals_qty": 3,
  50. "volume": "0.000008",
  51. "po_number": "",
  52. "lot_no": "DLW-230525-01-P001-3",
  53. "manufacture_at": "",
  54. "qty": 100,
  55. "width": "2.00",
  56. "expire_at": "",
  57. "in_qty": 2,
  58. "barcode": "",
  59. "height": "2.00"
  60. },
  61. {
  62. "code": "DLW-01",
  63. "po_date": "",
  64. "length": "2.00",
  65. "weight": "2.00",
  66. "decals_qty": 3,
  67. "volume": "0.000008",
  68. "po_number": "",
  69. "lot_no": "DLW-230525-01-P001-4",
  70. "manufacture_at": "",
  71. "qty": 100,
  72. "width": "2.00",
  73. "expire_at": "",
  74. "in_qty": 2,
  75. "barcode": "",
  76. "height": "2.00"
  77. },
  78. {
  79. "code": "DLW-01",
  80. "po_date": "",
  81. "length": "2.00",
  82. "weight": "2.00",
  83. "decals_qty": 3,
  84. "volume": "0.000008",
  85. "po_number": "",
  86. "lot_no": "DLW-230525-01-P001-5",
  87. "manufacture_at": "",
  88. "qty": 100,
  89. "width": "2.00",
  90. "expire_at": "",
  91. "in_qty": 2,
  92. "barcode": "",
  93. "height": "2.00"
  94. },
  95. {
  96. "code": "DLW-01",
  97. "po_date": "",
  98. "length": "2.00",
  99. "weight": "2.00",
  100. "decals_qty": 3,
  101. "volume": "0.000008",
  102. "po_number": "",
  103. "lot_no": "DLW-230525-01-P001-6",
  104. "manufacture_at": "",
  105. "qty": 100,
  106. "width": "2.00",
  107. "expire_at": "",
  108. "in_qty": 2,
  109. "barcode": "",
  110. "height": "2.00"
  111. },
  112. {
  113. "code": "DLW-01",
  114. "po_date": "",
  115. "length": "2.00",
  116. "weight": "2.00",
  117. "decals_qty": 3,
  118. "volume": "0.000008",
  119. "po_number": "",
  120. "lot_no": "DLW-230525-01-P001-7",
  121. "manufacture_at": "",
  122. "qty": 100,
  123. "width": "2.00",
  124. "expire_at": "",
  125. "in_qty": 2,
  126. "barcode": "",
  127. "height": "2.00"
  128. },
  129. {
  130. "code": "DLW-01",
  131. "po_date": "",
  132. "length": "2.00",
  133. "weight": "2.00",
  134. "decals_qty": 3,
  135. "volume": "0.000008",
  136. "po_number": "",
  137. "lot_no": "DLW-230525-01-P001-8",
  138. "manufacture_at": "",
  139. "qty": 100,
  140. "width": "2.00",
  141. "expire_at": "",
  142. "in_qty": 2,
  143. "barcode": "",
  144. "height": "2.00"
  145. },
  146. {
  147. "code": "DLW-01",
  148. "po_date": "",
  149. "length": "2.00",
  150. "weight": "2.00",
  151. "decals_qty": 3,
  152. "volume": "0.000008",
  153. "po_number": "",
  154. "lot_no": "DLW-230525-01-P001-9",
  155. "manufacture_at": "",
  156. "qty": 100,
  157. "width": "2.00",
  158. "expire_at": "",
  159. "in_qty": 2,
  160. "barcode": "",
  161. "height": "2.00"
  162. },
  163. {
  164. "code": "DLW-01",
  165. "po_date": "",
  166. "length": "2.00",
  167. "weight": "2.00",
  168. "decals_qty": 3,
  169. "volume": "0.000008",
  170. "po_number": "",
  171. "lot_no": "DLW-230525-01-P002-10",
  172. "manufacture_at": "",
  173. "qty": 100,
  174. "width": "2.00",
  175. "expire_at": "",
  176. "in_qty": 2,
  177. "barcode": "",
  178. "height": "2.00"
  179. }
  180. ],
  181. "status": "sending"
  182. },
  183. "message": "success"
  184. }

返回结果

名称 类型 说明
centre_code string 仓库代码 warehouseCode
asn_number string 批次号
confirmed_at string
warehousing_time datetime 入库时间
type string 唛头地址
status string receiving
items array
code string SKU
po_date string
length BigDecimal 箱子的长度(cm)
weight BigDecimal 箱子的重量(cm)
decals_qty integer 贴标数量
volume string 箱子的体积(cm³)
po_number string 买家批次号
lot_no string 箱号
manufacture_at string 制造产地
qty integer 商品数量
width BigDecimal 箱子的宽度(cm)
expire_at string
in_qty integer 实际已入库数量
barcode string
height BigDecimal 箱子的高度(cm)