海外品牌方库存数据查询
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| param | InventoryStockInfoExportQuery | 必须 | 系统自动生成 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | JkPageResult | 出参 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthSupplierInventorystockQueryRequest req = new AlibabaAlihealthSupplierInventorystockQueryRequest();
AlibabaAlihealthSupplierInventorystockQueryRequest.InventoryStockInfoExportQuery obj1 = new AlibabaAlihealthSupplierInventorystockQueryRequest.InventoryStockInfoExportQuery();
obj1.setPageSize(100L);
obj1.setBrandIdentity("GSK");
obj1.setPageNum(1L);
req.setParam(obj1);
AlibabaAlihealthSupplierInventorystockQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alibaba_alihealth_supplier_inventorystock_query_response>
<result>
<total_page>5120</total_page>
<success>true</success>
<item_list>
<alihealth_inventory_stock_info_export_d_t_o>
<gmt_modified>1585699429000</gmt_modified>
<ss_scrap_quantity>1</ss_scrap_quantity>
<ks_normal_quantity>1</ks_normal_quantity>
<lw_scrap_quantity>1</lw_scrap_quantity>
<cate_level2_name>OTC药品</cate_level2_name>
<sfcate4_name>demo</sfcate4_name>
<spec>1</spec>
<normal_total_quantity>0</normal_total_quantity>
<cate_level4_name>demo</cate_level4_name>
<sfcate3_name>demo</sfcate3_name>
<sc_item_name>杭康 葡萄糖酸锌咀嚼片 36片/盒 本品5盒 优惠装 节省4.5元</sc_item_name>
<ks_scrap_quantity>demo</ks_scrap_quantity>
<cate_level3_name>维矿物质</cate_level3_name>
<id>1049344</id>
<class_name>com.alibaba.health.scm.service.dto.brand.AlihealthInventoryStockInfoDTO</class_name>
<sfcate2_name>维矿物质</sfcate2_name>
<lw_normal_quantity>1</lw_normal_quantity>
<sf_cate3_id>demo</sf_cate3_id>
<brand_name>杭康</brand_name>
<area_d1_count>0</area_d1_count>
<cq_scrap_quantity>1</cq_scrap_quantity>
<sf_cate4_id>demo</sf_cate4_id>
<sf_cate1_id>72120003</sf_cate1_id>
<sf_cate2_id>72650004</sf_cate2_id>
<cate_level5_name>demo</cate_level5_name>
<sc_item_id>564401456266</sc_item_id>
<scrap_total_quantity>0</scrap_total_quantity>
<gmt_create>1585699429000</gmt_create>
<bar_code>6920041600301</bar_code>
<cate_level1_name>OTC药品/国际医药</cate_level1_name>
<cate_level3_id>50023742</cate_level3_id>
<cate_level2_id>50023720</cate_level2_id>
<hb_scrap_quantity>demo</hb_scrap_quantity>
<sfcate1_name>OTC药品</sfcate1_name>
<cate_level5_id>demo</cate_level5_id>
<cate_level4_id>demo</cate_level4_id>
<cq_normal_quantity>1</cq_normal_quantity>
<brand_id>33113982</brand_id>
<area_d28_count>0</area_d28_count>
<ss_normal_quantity>1</ss_normal_quantity>
<hb_normal_quantity>1</hb_normal_quantity>
<cate_level1_id>201273575</cate_level1_id>
<area_d7_count>0</area_d7_count>
<yt_normal_quantity>23</yt_normal_quantity>
<yt_scrap_quantity>23</yt_scrap_quantity>
<nb_scrap_quantity>34</nb_scrap_quantity>
<nb_normal_quantity>34</nb_normal_quantity>
</alihealth_inventory_stock_info_export_d_t_o>
</item_list>
<page_size>10</page_size>
<sys_error_code>demo</sys_error_code>
<has_next>true</has_next>
<total_rows>51196</total_rows>
<class_name>com.alibaba.health.scm.service.dto.zydprice.JkPageResult</class_name>
<page_num>1</page_num>
<sys_error_msg>demo</sys_error_msg>
</result>
</alibaba_alihealth_supplier_inventorystock_query_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|