文档中心 > API类目 > ICBU-DropShipping

alibaba.dropshipping.product.get (阿里巴巴dropshipping 产品信息获取)

阿里巴巴dropshipping 产品信息获取

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_distribution_sale_product_request DistributionSaleProductRequest 必须 {}
  • └ product_ids
  • Number []
  • 必须
  • [1234,456]
  • productId List,max size is 10

响应参数

名称 类型 示例值 描述
value DistributionSaleProduct [] {} product pojo
  • └ description
  • String
  • xxxxx
  • product description html,
    It is the transferred string, the applicable party needs to reverse the string
  • └ detail_url
  • String
  • https://xxxxxxxx.htm
  • product detail Url
  • └ is_can_place_order
  • Boolean
  • true
  • Determine whether this product can be ordered
  • └ keywords
  • String []
  • [mp3,red]
  • product keywords
  • ladder_period_list
  • LadderPeriod []
  • []
  • Ladder delivery List
  • └ max_quantity
  • Number
  • 10
  • max quantity
  • └ min_quantity
  • Number
  • 1
  • min quantity
  • └ process_period
  • Number
  • 5
  • Delivery time
  • └ main_image_url
  • String
  • https://sc04.alicdn.com/kf/Hbaa543ef00774305882c18bbf8078596R.jpg
  • main image url
  • moq_and_price
  • MoqAndPrice
  • {}
  • min order quantity and Price
  • └ min_order_quantity
  • String
  • 1
  • min order quantity
  • └ moq_delivery_period
  • Number
  • 10
  • min order quantity delivery period
  • moq_unit_price
  • Price
  • {}
  • min order quantity unit price
  • └ amount
  • String
  • 10.2
  • amount
  • └ currency
  • String
  • USD
  • currency
  • └ unit
  • String
  • piece
  • min order quantity unit
  • └ name
  • String
  • Hello Test Product Name
  • product name
  • └ price_range
  • String
  • 3.6~100.9
  • price Range
  • └ product_id
  • Number
  • 12342
  • product id
  • product_sku_list
  • ProductSku []
  • []
  • product sku list
  • └ image_url
  • String
  • https://xxxx.jpg
  • sku image url
  • inventory_list
  • Inventory []
  • []
  • inventory list
  • └ dispatch_country
  • String
  • CN
  • dispatch country
  • └ inventory
  • Number
  • 5
  • inventory count
  • └ store_code
  • String
  • xxxx
  • store code
  • └ sku_id
  • Number
  • 2222
  • sku id
  • sku_name_value_list
  • ProductSkuNameValue []
  • []
  • sku name value list
  • └ attr_name_desc
  • String
  • IX9 black
  • Attributes name
  • └ attr_name_id
  • Number
  • -2
  • Attributes name id
  • └ attr_value_desc
  • String
  • Color
  • Attributes value
  • └ attr_value_id
  • Number
  • 191288010
  • Attributes value id
  • └ attr_value_image
  • String
  • https://xxxx.jpg
  • Attributes url
  • ladder_price_list
  • LadderPrice []
  • []
  • ladder price list
  • price
  • Price
  • {}
  • price
  • └ currency
  • String
  • USD
  • currency
  • └ amount
  • String
  • 11.2
  • amount
  • └ max_quantity
  • Number
  • 100
  • If it is -1, it means the maximum
  • └ min_quantity
  • Number
  • 2
  • min quantity
  • └ e_company_id
  • String
  • xxxxxxx
  • Store Id
  • └ top_category_name
  • String
  • Consumer Electronics
  • the top category name
  • └ leaf_category_name
  • String
  • Smart Watches
  • the leaf category name
  • └ image_url_list
  • String []
  • [ "xxxx.jpg","yyyy.jpg"]
  • product image list

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDropshippingProductGetRequest req = new AlibabaDropshippingProductGetRequest();
AlibabaDropshippingProductGetRequest.DistributionSaleProductRequest obj1 = new AlibabaDropshippingProductGetRequest.DistributionSaleProductRequest();
obj1.setProductIds(new Long[] { 1234,456 };
);
req.setParamDistributionSaleProductRequest(obj1);
AlibabaDropshippingProductGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_dropshipping_product_get_response>
    <value>
        <distribution_sale_product>
            <description>xxxxx</description>
            <detail_url>https://xxxxxxxx.htm</detail_url>
            <is_can_place_order>true</is_can_place_order>
            <keywords>
                <string>[mp3</string>
                <string>red]</string>
            </keywords>
            <ladder_period_list>
                <ladder_period>
                    <max_quantity>10</max_quantity>
                    <min_quantity>1</min_quantity>
                    <process_period>5</process_period>
                </ladder_period>
            </ladder_period_list>
            <main_image_url>https://sc04.alicdn.com/kf/Hbaa543ef00774305882c18bbf8078596R.jpg</main_image_url>
            <moq_and_price>
                <min_order_quantity>1</min_order_quantity>
                <moq_delivery_period>10</moq_delivery_period>
                <moq_unit_price>
                    <amount>10.2</amount>
                    <currency>USD</currency>
                </moq_unit_price>
                <unit>piece</unit>
            </moq_and_price>
            <name>Hello Test Product Name</name>
            <price_range>3.6~100.9</price_range>
            <product_id>12342</product_id>
            <product_sku_list>
                <product_sku>
                    <image_url>https://xxxx.jpg</image_url>
                    <inventory_list>
                        <inventory>
                            <dispatch_country>CN</dispatch_country>
                            <inventory>5</inventory>
                            <store_code>xxxx</store_code>
                        </inventory>
                    </inventory_list>
                    <sku_id>2222</sku_id>
                    <sku_name_value_list>
                        <product_sku_name_value>
                            <attr_name_desc>IX9 black</attr_name_desc>
                            <attr_name_id>-2</attr_name_id>
                            <attr_value_desc>Color</attr_value_desc>
                            <attr_value_id>191288010</attr_value_id>
                            <attr_value_image>https://xxxx.jpg</attr_value_image>
                        </product_sku_name_value>
                    </sku_name_value_list>
                    <ladder_price_list>
                        <ladder_price>
                            <price>
                                <currency>USD</currency>
                                <amount>11.2</amount>
                            </price>
                            <max_quantity>100</max_quantity>
                            <min_quantity>2</min_quantity>
                        </ladder_price>
                    </ladder_price_list>
                </product_sku>
            </product_sku_list>
            <e_company_id>xxxxxxx</e_company_id>
            <top_category_name>Consumer Electronics</top_category_name>
            <leaf_category_name>Smart Watches</leaf_category_name>
            <image_url_list>
                <string>[ &quot;xxxx.jpg&quot;</string>
                <string>&quot;yyyy.jpg&quot;]</string>
            </image_url_list>
        </distribution_sale_product>
    </value>
</alibaba_dropshipping_product_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

返回
顶部