文档中心 > Dropshipping(已废弃)

aliexpress.ds.commissionorder.listbyindex (联盟订单分页查询)

联盟订单分页查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
page_size Number 可选 50 record count of each page, 1 - 50
start_query_index_id String 可选 1111-2222-3333 Query index start value: if not passed, You can only check the first page
page_no Number 可选 1 page number
start_time String 必须 2019-08-14 00:00:00 Start time, PST time
end_time String 必须 2019-08-19 00:00:00 End time, PST time
status String 必须 Payment Completed Order status: Payment Completed(Buyer paid successfully), Buyer Confirmed Receipt(This status only change when :Buyer confirms receipt and settlement task begins which is manually executed by our operation team)

响应参数

名称 类型 示例值 描述
result TrafficOrderResultDTO result object
  • └ max_query_index_id
  • String
  • 1565850226000_101555804_1000015421011161
  • max query index start value: if not passed, You can only check the first page
  • └ current_record_count
  • Number
  • 5
  • current record count
  • orders
  • TrafficOrderEffectDTO []
  • orders object list
  • └ commission_rate
  • String
  • 7.00%
  • commission rate
  • └ order_number
  • Number
  • 1000012370151161
  • order number
  • └ finished_amount
  • String
  • 10000
  • finished amount of the order, unit cent
  • └ is_affiliate_product
  • String
  • Y
  • is affiliate product
  • └ is_new_buyer
  • String
  • N
  • is new buyer
  • └ item_title
  • String
  • local return
  • item title
  • └ effect_detail_status
  • String
  • FullRefund
  • Additional order status, eg: full refund order, antispam order
  • └ estimated_incentive_finished_commission
  • String
  • null
  • estimated commission for finished incentive order
  • └ estimated_incentive_paid_commission
  • String
  • null
  • estimated commission for paid incentive order
  • └ publisher_id
  • Number
  • 101555804
  • publisher id
  • └ is_hot_product
  • String
  • N
  • is hot product
  • └ parent_order_number
  • Number
  • 1000012370141161
  • parent order number
  • └ item_detail_url
  • String
  • https://xxxx.html
  • item detail url
  • └ created_time
  • String
  • 2019-08-14 01:29:03
  • created time of this order
  • └ publisher_settled_currency
  • String
  • USD
  • publisher settled currency
  • └ ship_to_country
  • String
  • RU
  • product shipping country
  • └ order_id
  • Number
  • 1000012370141161
  • order id
  • └ item_main_image_url
  • String
  • https://xxxx.html
  • item main image url
  • └ paid_time
  • String
  • 2019-08-14 02:00:48
  • paid time
  • └ item_count
  • String
  • 100
  • item count
  • └ item_id
  • Number
  • 32991483812
  • item id
  • └ effect_status
  • String
  • Payment Completed
  • effect status
  • └ estimated_finished_commission
  • String
  • 11
  • estimated commission for finished order
  • └ sub_order_id
  • Number
  • 1000012370151161
  • sub order id
  • └ estimated_paid_commission
  • Number
  • 10
  • estimated commission for paid order
  • └ finished_time
  • String
  • 2019-08-14 02:00:48
  • Order finish time
  • └ paid_amount
  • Number
  • 2
  • payment amount of the order, unit cent
  • └ category_id
  • Number
  • 21
  • category id
  • └ incentive_commission_rate
  • String
  • 0%
  • incentive commission rate
  • └ min_query_index_id
  • String
  • 1565773248000_101555804_1000012370151161
  • min query index start value: if not passed, You can only check the first page
  • └ current_page_no
  • Number
  • 5
  • current page number
rsp_msg String System Error System Error
rsp_code String 404 error code

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressDsCommissionorderListbyindexRequest req = new AliexpressDsCommissionorderListbyindexRequest();
req.setPageSize(50L);
req.setStartQueryIndexId("1111-2222-3333");
req.setPageNo(1L);
req.setStartTime("2019-08-14 00:00:00");
req.setEndTime("2019-08-19 00:00:00");
req.setStatus("Payment Completed");
AliexpressDsCommissionorderListbyindexResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_ds_commissionorder_listbyindex_response>
    <result>
        <max_query_index_id>1565850226000_101555804_1000015421011161</max_query_index_id>
        <current_record_count>5</current_record_count>
        <orders>
            <traffic_order_effect_d_t_o>
                <commission_rate>7.00%</commission_rate>
                <order_number>1000012370151161</order_number>
                <finished_amount>10000</finished_amount>
                <is_affiliate_product>Y</is_affiliate_product>
                <is_new_buyer>N</is_new_buyer>
                <item_title>local return</item_title>
                <effect_detail_status>FullRefund</effect_detail_status>
                <estimated_incentive_finished_commission>null</estimated_incentive_finished_commission>
                <estimated_incentive_paid_commission>null</estimated_incentive_paid_commission>
                <publisher_id>101555804</publisher_id>
                <is_hot_product>N</is_hot_product>
                <parent_order_number>1000012370141161</parent_order_number>
                <item_detail_url>https://xxxx.html</item_detail_url>
                <created_time>2019-08-14 01:29:03</created_time>
                <publisher_settled_currency>USD</publisher_settled_currency>
                <ship_to_country>RU</ship_to_country>
                <order_id>1000012370141161</order_id>
                <item_main_image_url>https://xxxx.html</item_main_image_url>
                <paid_time>2019-08-14 02:00:48</paid_time>
                <item_count>100</item_count>
                <item_id>32991483812</item_id>
                <effect_status>Payment Completed</effect_status>
                <estimated_finished_commission>11</estimated_finished_commission>
                <sub_order_id>1000012370151161</sub_order_id>
                <estimated_paid_commission>10</estimated_paid_commission>
                <finished_time>2019-08-14 02:00:48</finished_time>
                <paid_amount>2</paid_amount>
                <category_id>21</category_id>
                <incentive_commission_rate>0%</incentive_commission_rate>
            </traffic_order_effect_d_t_o>
        </orders>
        <min_query_index_id>1565773248000_101555804_1000012370151161</min_query_index_id>
        <current_page_no>5</current_page_no>
    </result>
    <rsp_msg>System Error</rsp_msg>
    <rsp_code>404</rsp_code>
</aliexpress_ds_commissionorder_listbyindex_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

返回
顶部