文档中心 > 超级品牌-CPFR样例文档

菜鸟仓库存批量查询接口

更新时间:2019/07/12 访问次数:423

菜鸟仓库存批量查询接口

ERP_INVENTORY_QUERY

XML格式请求报文如下:

<request>
    <inventoryType>1</inventoryType>
	<itemId>546238291018</itemId>
	<ownerUserId>1014281128</ownerUserId>
</request>

成功响应报文:

<response> 
  <success>true</success>  
  <itemList> 
    <itemId>546238291018</itemId>  
    <inventoryType>1</inventoryType>  
    <quantity>0</quantity>  
    <lockQuantity>0</lockQuantity>  
    <storeCode>QDHEWL-0007</storeCode> 
  </itemList>  
  <itemList> 
    <itemId>546238291018</itemId>  
    <inventoryType>1</inventoryType>  
    <quantity>0</quantity>  
    <lockQuantity>0</lockQuantity>  
    <storeCode>QDHEWL-0022</storeCode> 
  </itemList>  
  <itemList> 
    <itemId>546238291018</itemId>  
    <inventoryType>1</inventoryType>  
    <quantity>0</quantity>  
    <lockQuantity>0</lockQuantity>  
    <storeCode>QDHEWL-0011</storeCode> 
  </itemList>  
  <totalCount>3</totalCount> 
</response>

JSON格式请求报文如下:

{"inventoryType":"1","itemId":"546238291018","ownerUserId":"1014281128"}

成功响应报文:

{"success":"true","itemList":[{"itemId":"546238291018","inventoryType":"1","quantity":"0","lockQuantity":"0","storeCode":"QDHEWL-0007"},{"itemId":"546238291018","inventoryType":"1","quantity":"3","lockQuantity":"0","storeCode":"QDHEWL-0022"},{"itemId":"546238291018","inventoryType":"1","quantity":"20","lockQuantity":"0","storeCode":"QDHEWL-0011"}],"totalCount":"3"}

FAQ

关于此文档暂时还没有FAQ
返回
顶部