注意:以下文档只适用于TOP接口,请谨慎使用!

alibaba.open.search.daixiao.offer.get (代销市场商品搜索服务)

代销市场商品搜索服务

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
isv_daixiao_offer_request IsvDaixiaoOfferRequestParam 可选 搜索参数
  • └ current_page
  • Number
  • 可选
  • 1
  • 当前页
  • └ descend_order
  • Boolean
  • 可选
  • true
  • 是否降序,true降序,false升序
  • └ keywords
  • String
  • 可选
  • 连衣裙
  • 关键词
  • └ page_size
  • Number
  • 可选
  • 10
  • 每页大小
  • └ sort_type
  • String
  • 可选
  • price
  • 排序类型,取值:price,booked,post_time,分布代表价格排序、销量排序、发布时间排序

响应参数

名称 类型 示例值 描述
error_msg String 1 errorInfo
result IsvOfferQueryResult 1 result
  • └ count
  • Number
  • 1
  • count
  • └ current_page
  • Number
  • 1
  • currentPage
  • └ more_url_pc
  • String
  • 1
  • moreUrlPc
  • offer_list
  • IsvOfferModel []
  • 1
  • offerList
  • └ alg
  • String
  • alg
  • └ booked_count
  • Number
  • bookedCount
  • └ company_name
  • String
  • companyName
  • └ consign_price_map
  • String
  • consignPriceMap
  • └ detail_url
  • String
  • detailUrl
  • └ gmt_post
  • String
  • gmtPost
  • └ id
  • Number
  • id
  • └ image_url
  • String
  • imageUrl
  • └ member_id
  • String
  • memberId
  • └ price
  • String
  • price
  • └ subject
  • String
  • subject
  • └ page_size
  • Number
  • 1
  • pageSize
is_success Boolean 1 success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaOpenSearchDaixiaoOfferGetRequest req = new AlibabaOpenSearchDaixiaoOfferGetRequest();
AlibabaOpenSearchDaixiaoOfferGetRequest.IsvDaixiaoOfferRequestParam obj1 = new AlibabaOpenSearchDaixiaoOfferGetRequest.IsvDaixiaoOfferRequestParam();
obj1.setCurrentPage(1L);
obj1.setDescendOrder(true);
obj1.setKeywords("连衣裙");
obj1.setPageSize(10L);
obj1.setSortType("price");
req.setIsvDaixiaoOfferRequest(obj1);
AlibabaOpenSearchDaixiaoOfferGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_open_search_daixiao_offer_get_response>
    <error_msg>1</error_msg>
    <result>
        <count>1</count>
        <current_page>1</current_page>
        <more_url_pc>1</more_url_pc>
        <offer_list>
            <isv_offer_model>
                <alg></alg>
                <booked_count></booked_count>
                <company_name></company_name>
                <consign_price_map></consign_price_map>
                <detail_url></detail_url>
                <gmt_post></gmt_post>
                <id></id>
                <image_url></image_url>
                <member_id></member_id>
                <price></price>
                <subject></subject>
            </isv_offer_model>
        </offer_list>
        <page_size>1</page_size>
    </result>
    <is_success>1</is_success>
</alibaba_open_search_daixiao_offer_get_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部