库存查询 taobao.qimen.stock.query 报文样例:
<request> <ownerCode>4027301618</ownerCode> <page>184</page> <pageSize>50</pageSize> </request>
成功响应报文样例:
<response> <flag>success</flag> <totalLines>9306</totalLines> <items> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>591867664307</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>591877908165</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592068661912</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592068661913</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592077689677</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592087929396</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592095853322</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592101457225</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592238890499</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592238922836</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592238958857</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592239274507</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592239314180</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592403839732</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592403839733</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592405835701</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592410155461</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592410155462</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592410207437</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592410371638</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>0</quantity> <lockQuantity>0</lockQuantity> <itemId>592410419562</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZT</inventoryType> </item> <item> <quantity>2</quantity> <lockQuantity>0</lockQuantity> <itemId>582242656555</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>582703247876</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>574088925618</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>586916567137</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>582244080309</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>582244052382</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>583189530518</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>582861408425</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>574259146045</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>582439653864</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>2</quantity> <lockQuantity>0</lockQuantity> <itemId>582439781625</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>2</quantity> <lockQuantity>0</lockQuantity> <itemId>582861344889</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>582441277236</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>583060613690</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>583060705359</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>582568034276</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>582244168237</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>40</quantity> <lockQuantity>0</lockQuantity> <itemId>596718696869</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZP</inventoryType> </item> <item> <quantity>15</quantity> <lockQuantity>0</lockQuantity> <itemId>596718892244</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZP</inventoryType> </item> <item> <quantity>40</quantity> <lockQuantity>0</lockQuantity> <itemId>596718896248</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZP</inventoryType> </item> <item> <quantity>40</quantity> <lockQuantity>0</lockQuantity> <itemId>596954165388</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZP</inventoryType> </item> <item> <quantity>5</quantity> <lockQuantity>0</lockQuantity> <itemId>596954177405</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZP</inventoryType> </item> <item> <quantity>40</quantity> <lockQuantity>0</lockQuantity> <itemId>596954181321</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZP</inventoryType> </item> <item> <quantity>5</quantity> <lockQuantity>0</lockQuantity> <itemId>597132626765</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZP</inventoryType> </item> <item> <quantity>15</quantity> <lockQuantity>0</lockQuantity> <itemId>597320287389</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>ZP</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>583325603753</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>574198470706</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>592238918767</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> <item> <quantity>1</quantity> <lockQuantity>0</lockQuantity> <itemId>582441121809</itemId> <warehouseCode>JIX201</warehouseCode> <inventoryType>CC</inventoryType> </item> </items> </response>
异常响应提示样例:
<response> <flag>failure</flag> <code>MAC009</code> <message>查询条件有误,订单类型不匹配</message> <totalLines>1</totalLines> </response>