供应商查询渠道产品列表
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param | ProductListQueryRequestForSupplier | 可选 | 请求参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result_success | Boolean | true | 执行结果是否成功 |
module | ProductListQueryResponseForSupplier | json | 返回结果 |
|
|||
error_message | String | fail | 错误信息 |
error | String | INVALID_PARAM | 错误码 |
1 2 3 4 5 6 7 8 9 10 11 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAscpChannelSupplierProductListRequest req = new AlibabaAscpChannelSupplierProductListRequest(); AlibabaAscpChannelSupplierProductListRequest.ProductListQueryRequestForSupplier obj1 = new AlibabaAscpChannelSupplierProductListRequest.ProductListQueryRequestForSupplier(); obj1.setPageNo(1L); obj1.setPageSize(20L); obj1.setSalesMode( "agent" ); obj1.setSubChannelCode( "electronicsMarket_Tmall" ); obj1.setChannelCode( "electronicsMarket" ); req.setParam(obj1); AlibabaAscpChannelSupplierProductListResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | < alibaba_ascp_channel_supplier_product_list_response > < result_success >true</ result_success > < module > < total_count >11</ total_count > < product_list > < product_list > < product_title >产品标题名称</ product_title > < product_id >123123121231</ product_id > < out_no >123111</ out_no > < sales_mode_list > < string >agent</ string > </ sales_mode_list > < sub_channel_code >electronicsMarket_Tmall</ sub_channel_code > < picture_list > </ picture_list > < product_type >2</ product_type > < channel_code >electronicsMarket</ channel_code > </ product_list > </ product_list > </ module > < error_message >fail</ error_message > < error >INVALID_PARAM</ error > </ alibaba_ascp_channel_supplier_product_list_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|