感谢您的反馈!
供应链中台货品搜索接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param0 | ScItemSearchDTO | 必须 | 货品搜索条件 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | CnskuResult | / | 返回结果 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAscpCnskuSearchRequest req = new AlibabaAscpCnskuSearchRequest(); AlibabaAscpCnskuSearchRequest.ScItemSearchDTO obj1 = new AlibabaAscpCnskuSearchRequest.ScItemSearchDTO(); obj1.setPageSize(20L); obj1.setNonScItemTypeList(""); obj1.setScItemName("测试请不要拍"); obj1.setItemDim(3L); obj1.setScItemStatus(0L); obj1.setNonFeatureConditionString("{\"scm_archive_status\":\"3\"}"); obj1.setScItemTypeList(""NORMAL""); obj1.setBrandName("测试品牌"); obj1.setOuterIdList(""2406549600332""); obj1.setScItemCode("2406549600332"); obj1.setWhcBarCodeList(""2406549600332""); obj1.setScItemId(645968622048L); obj1.setFeatureConditionString("{\"merchantCode\":\"MCCSSJ\"}"); obj1.setMerchantCategoryIdList(new Long[] { 11010101 }; ); obj1.setWhcBarcode("2406549600332"); obj1.setAuctionTags("30081"); obj1.setScItemIdList(new Long[] { 645968622048 }; ); obj1.setCurrentPage(1L); obj1.setCategoryId(50050381L); req.setParam0(obj1); AlibabaAscpCnskuSearchResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody());
<alibaba_ascp_cnsku_search_response> <result> <data> <cnsku_d_t_o> <cnsku_id>1</cnsku_id> <item_code>123</item_code> <brand>1</brand> <owner_id>1</owner_id> <sku_id>1</sku_id> <height>1</height> <sku_category>1</sku_category> <weight>1</weight> <volume>1</volume> <reserve_price>1</reserve_price> <whc_bar_code>1</whc_bar_code> <title>1</title> <package_material>1</package_material> <length>1</length> <width>1</width> <category_id>1</category_id> <type>1</type> <cnsku_extend_d_t_o> <main_composition>1</main_composition> <deliver_requirements>1</deliver_requirements> <is_imported>false</is_imported> <trans_width>1</trans_width> <package_unit>1</package_unit> <temperature_requirement>1</temperature_requirement> <trans_length>1</trans_length> <include_battery>1</include_battery> <package_material_class>1</package_material_class> <type_property>1</type_property> <manufacturer>1</manufacturer> <inner_length>1</inner_length> <trans_image_url>1</trans_image_url> <load_bearing>1</load_bearing> <is_precious>false</is_precious> <pic_url>1</pic_url> <is_produce_code_mgt>false</is_produce_code_mgt> <is_drugs>false</is_drugs> <brand_country>1</brand_country> <currency>1</currency> <producing_area>1</producing_area> <trans_height>1</trans_height> <trans_volume>1</trans_volume> <inner_height>1</inner_height> <trans_weight>1</trans_weight> <material_type>1</material_type> <package_material_mode>1</package_material_mode> <classification>1</classification> <tax_code>1</tax_code> <www_bar_code>1</www_bar_code> <tax_rate>1</tax_rate> <inner_width>1</inner_width> <dosage_forms>1</dosage_forms> </cnsku_extend_d_t_o> <cnsku_feature_d_t_o> <origin_address>1</origin_address> <sku_price>1</sku_price> <lifecycle>1</lifecycle> <is_precious>false</is_precious> <is_standard_carton>false</is_standard_carton> <gray_flag>1</gray_flag> <whc_category>1</whc_category> <whc_sn_out_mode>false</whc_sn_out_mode> <is_danger>false</is_danger> <net_weight>1</net_weight> <unit>1</unit> <size>1</size> <material_group>1</material_group> <reject_lifecycle>1</reject_lifecycle> <whc_sn_in_mode>false</whc_sn_in_mode> <sku_code>1</sku_code> <is_unified_all_wh>false</is_unified_all_wh> <lockup_lifecycle>1</lockup_lifecycle> <is_sn_mgt>false</is_sn_mgt> <advent_lifecycle>1</advent_lifecycle> <is_unified_all_wh_carton>false</is_unified_all_wh_carton> <goods_value>1.22</goods_value> <need_measure_image_carton>false</need_measure_image_carton> <is_po_mgt>false</is_po_mgt> <use_yn>false</use_yn> <goods_no>1</goods_no> <pcs>1</pcs> <material_class>1</material_class> <cost_price>1</cost_price> <specification>1</specification> <specification_type>1</specification_type> <packaging_scheme>1</packaging_scheme> <cn_product_code>1</cn_product_code> <approval_number>1</approval_number> <sn_mode>1</sn_mode> <is_hygroscopic>false</is_hygroscopic> <cn_cubage>1</cn_cubage> <is_standard>false</is_standard> <is_batch_mgt>false</is_batch_mgt> <is_shelflife>false</is_shelflife> <need_measure_image>false</need_measure_image> </cnsku_feature_d_t_o> <feature_map>1</feature_map> <status>1</status> </cnsku_d_t_o> </data> <page_index>1</page_index> <total_num>1</total_num> <is_system_failed>false</is_system_failed> <sys_error_code>errorCode</sys_error_code> <page_size>20</page_size> <is_success>true</is_success> <error_m_s_g>errorMessage</error_m_s_g> </result> </alibaba_ascp_cnsku_search_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|