文档中心 > API类目 > AE-奇门API

qimen.aliexpress.trade.findorderlistquery (交易订单列表查询)

交易订单列表查询。订单状态会多一个全新的值RISK_CONTROL 该值的含义是订单处于风控24小时中,从买家在线支付完成后开始,持续24小时。

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
id String 必须 cn12343523 卖家登录的login_id
param1 OrderListRequest 必须 入参
  • └ create_date_end
  • String
  • 可选
  • 10/08/2013 00:00:00
  • 订单创建时间结束值,格式: MM/dd/yyyy HH:mm:ss,如10/08/2013 00:00:00 倘若时间维度未精确到时分秒,故该时间条件筛选不许生效。
  • └ create_date_start
  • String
  • 可选
  • 10/08/2013 00:00:00
  • 订单创建时间起始值,格式: MM/dd/yyyy HH:mm:ss,如10/08/2013 00:00:00 倘若时间维度未精确到时分秒,故该时间条件筛选不许生效。
  • └ order_status_list
  • String []
  • 可选
  • 查询多个订单状态下的订单信息,具体订单状态见order_status描述。如["PLACE_ORDER_SUCCESS","WAIT_SELLER_SEND_GOODS"],最大列表长度:20。
  • └ page
  • Number
  • 必须
  • 1
  • 当前页码
  • └ page_size
  • Number
  • 必须
  • 20
  • 每页个数,最大50
  • └ order_status
  • String
  • 可选
  • PLACE_ORDER_SUCCESS
  • 订单状态: PLACE_ORDER_SUCCESS:等待买家付款; IN_CANCEL:买家申请取消; WAIT_SELLER_SEND_GOODS:等待您发货; SELLER_PART_SEND_GOODS:部分发货; WAIT_BUYER_ACCEPT_GOODS:等待买家收货; FUND_PROCESSING:买卖家达成一致,资金处理中; IN_ISSUE:含纠纷中的订单; IN_FROZEN:冻结中的订单; WAIT_SELLER_EXAMINE_MONEY:等待您确认金额; RISK_CONTROL:订单处于风控24小时中,从买家在线支付完成后开始,持续24小时。 以上状态查询可分别做单独查询,不传订单状态查询订单信息不包含(FINISH,已结束订单状态) FINISH:已结束的订单,需单独查询。
  • └ modified_date_start
  • String
  • 可选
  • 10/08/2013 00:00:00
  • 订单修改时间起始值,格式: MM/dd/yyyy HH:mm:ss,如10/08/2013 00:00:00
  • └ modified_date_end
  • String
  • 可选
  • 10/08/2013 00:00:00
  • 订单修改时间起始值,格式: MM/dd/yyyy HH:mm:ss,如10/08/2013 00:00:00
  • └ buyer_login_id
  • String
  • 可选
  • test
  • 买家登录id

响应参数

名称 类型 示例值 描述
result OrderListVo 出参
  • └ total_item
  • Number
  • 5
  • 总数量(SC订单不包含在结果中)
  • order_list
  • OrderItemVo []
  • 订单列表
  • └ logisitcs_escrow_fee_rate
  • String
  • 0.01
  • 运费佣金比例
  • └ left_send_good_min
  • String
  • 30
  • 剩余发货时间(分钟)
  • └ left_send_good_hour
  • String
  • 1
  • 剩余发货时间(小时)
  • └ left_send_good_day
  • String
  • 2
  • 剩余发货时间(天)
  • product_list
  • OrderProductVo []
  • 商品列表
  • └ afflicate_fee_rate
  • String
  • 0.03
  • 联盟佣金比例
  • └ escrow_fee_rate
  • String
  • 0.08
  • 交易佣金比例
  • └ freight_commit_day
  • String
  • 27
  • 限时达
  • └ memo
  • String
  • information
  • 订单备注
  • └ issue_mode
  • String
  • 12345
  • 纠纷类型
  • └ sku_code
  • String
  • 14
  • 商品编码
  • └ order_id
  • Number
  • 1160045860056286
  • 订单ID
  • └ send_goods_time
  • String
  • 2017-05-12 18:40:02
  • 最后发货时间
  • └ delivery_time
  • String
  • 5-10
  • 妥投时间
  • └ goods_prepare_time
  • Number
  • 3
  • 备货时间
  • logistics_amount
  • Money
  • 物流费用
  • currency
  • Currency
  • 货币描述
  • └ display_name
  • String
  • US Dollar
  • 币种名称
  • └ symbol
  • String
  • $
  • 币种符号
  • └ currency_code
  • String
  • USD
  • 币种
  • └ numeric_code
  • Number
  • 840
  • 币种数字编码
  • └ default_fraction_digits
  • Number
  • 2
  • 默认最小精确度
  • └ currency_code
  • String
  • USD
  • 币种USD/RUB
  • └ cent_factor
  • Number
  • 100
  • 到最小货币单元的乘积因子
  • └ cent
  • Number
  • 2000
  • └ amount
  • String
  • 0
  • 金额
  • └ logistics_service_name
  • String
  • EMS
  • 物流服务
  • └ logistics_type
  • String
  • EMS
  • 物流类型
  • └ seller_signer_last_name
  • String
  • zhu
  • 卖家lastName
  • └ seller_signer_first_name
  • String
  • leon
  • 卖家firstName
  • └ buyer_signer_last_name
  • String
  • xia
  • 买家lastName
  • └ buyer_signer_first_name
  • String
  • horse_ifm
  • 买家firstName
  • └ product_id
  • Number
  • 32202975759
  • 商品ID
  • └ child_id
  • Number
  • 1160045860056286
  • 子订单号
  • total_product_amount
  • Money
  • 全部商品金额
  • currency
  • Currency
  • 货币描述
  • └ display_name
  • String
  • US Dollar
  • 币种名称
  • └ symbol
  • String
  • $
  • 币种符号
  • └ currency_code
  • String
  • USD
  • 币种
  • └ numeric_code
  • Number
  • 840
  • 币种数字编码
  • └ default_fraction_digits
  • Number
  • 2
  • 默认最小精确度
  • └ currency_code
  • String
  • USD
  • 币种USD/RUB
  • └ cent_factor
  • Number
  • 100
  • 到最小货币单元的乘积因子
  • └ cent
  • Number
  • 10000
  • └ amount
  • String
  • 0
  • 金额
  • └ fund_status
  • String
  • NOT_PAY
  • 资金状态。(NOT_PAY:未付款; PAY_SUCCESS:付款成功; WAIT_SELLER_CHECK:卖家验款)
  • └ show_status
  • String
  • PLACE_ORDER_SUCCESS
  • 订单显示状态
  • └ issue_status
  • String
  • NO_ISSUE
  • 纠纷状态。(NO_ISSUE:无纠纷; IN_ISSUE:纠纷中; END_ISSUE:纠纷结束)
  • └ son_order_status
  • String
  • PLACE_ORDER_SUCCESS
  • 子订单状态
  • product_unit_price
  • Money
  • 商品单价
  • currency
  • Currency
  • 货币描述
  • └ display_name
  • String
  • US Dollar
  • 币种名称
  • └ symbol
  • String
  • $
  • 币种符号
  • └ currency_code
  • String
  • USD
  • 币种
  • └ numeric_code
  • Number
  • 840
  • 币种数字编码
  • └ default_fraction_digits
  • Number
  • 2
  • 默认最小精确度
  • └ currency_code
  • String
  • USD
  • 币种USD/RUB
  • └ cent_factor
  • Number
  • 100
  • 到最小货币单元的乘积因子
  • └ cent
  • Number
  • 10000
  • └ amount
  • String
  • 0
  • 金额
  • └ product_unit
  • String
  • piece
  • 商品单位
  • └ product_count
  • Number
  • 1
  • 商品数量
  • └ product_standard
  • String
  • 12345
  • 商品规格
  • └ product_img_url
  • String
  • http://g03.a.alicdn.com/kf/images/eng/no_photo.gif
  • 商品主图Url
  • └ product_snap_url
  • String
  • http://www.aliexpress.com:1080/snapshot/null.html?orderId\u003d1160045860056286
  • 快照Url
  • └ product_name
  • String
  • auto test product
  • 商品名称
  • └ send_goods_operator
  • String
  • SELLER_SEND_GOODS
  • 发货者类型。 "SELLER_SEND_GOODS": 卖家发货; "WAREHOUSE_SEND_GOODS":仓库发货
  • └ can_submit_issue
  • Boolean
  • false
  • 子订单是否能提交纠纷
  • └ money_back3x
  • Boolean
  • false
  • 是否假一赔三产品
  • └ tags
  • String []
  • 子订单各种标
  • └ has_request_loan
  • Boolean
  • false
  • 是否已请求放款
  • └ gmt_send_goods_time
  • String
  • 2017-05-12 18:40:02
  • 订单最后一次发货时间
  • escrow_fee
  • Money
  • 手续费
  • currency
  • Currency
  • 货币描述
  • └ display_name
  • String
  • US Dollar
  • 币种名称
  • └ symbol
  • String
  • $
  • 币种符号
  • └ currency_code
  • String
  • USD
  • 币种
  • └ numeric_code
  • Number
  • 840
  • 币种数字编码
  • └ default_fraction_digits
  • Number
  • 2
  • 默认最小精确度
  • └ currency_code
  • String
  • USD
  • 币种USD/RUB
  • └ cent_factor
  • Number
  • 100
  • 到最小货币单元的乘积因子
  • └ cent
  • Number
  • 100
  • └ amount
  • String
  • 0
  • 金额
  • └ escrow_fee_rate
  • Number
  • 1
  • 手续费率
  • └ frozen_status
  • String
  • NO_FROZEN
  • 冻结状态。(NO_FROZEN:无冻结; IN_FROZEN:冻结中)
  • └ issue_status
  • String
  • NO_ISSUE
  • 纠纷状态。(NO_ISSUE:无纠纷; IN_ISSUE:纠纷中; END_ISSUE:纠纷结束)
  • └ logistics_status
  • String
  • NO_LOGISTICS
  • 物流状态。(WAIT_SELLER_SEND_GOODS:等待卖家发货; SELLER_SEND_PART_GOODS:卖家部分发货; SELLER_SEND_GOODS:卖家已发货; BUYER_ACCEPT_GOODS:买家已确认收货; NO_LOGISTICS:没有物流流转信息)
  • └ fund_status
  • String
  • NOT_PAY
  • 资金状态。(NOT_PAY:未付款; PAY_SUCCESS:付款成功; WAIT_SELLER_CHECK:卖家验款)
  • └ payment_type
  • String
  • migs
  • 付款方式。 (migs:信用卡支付走人民币渠道; migs102:MasterCard支付并且走人民币渠道; migs101:Visa支付并且走人民币渠道; pp101:PayPal; mb: MoneyBooker渠道; tt101:Bank Transfer支付; wu101: West Union支付; wp101:Visa走美金渠道的支付; wp102:Mastercard走美金渠道的支付; qw101:QIWI支付; cybs101:Visa走CYBS渠道的支付; cybs102: Mastercard走CYBS渠道的支付; wm101:WebMoney支付; ebanx101:巴西Beloto支付)
  • └ gmt_pay_time
  • String
  • 2017-05-12 20:40:02
  • 支付时间(和订单详情中gmtPaysuccess字段意义相同。)
  • └ biz_type
  • String
  • AE_COMMON
  • 订单类型。(AE_COMMON:普通订单;AE_TRIAL:试用订单;AE_RECHARGE:手机充值订单)
  • └ order_status
  • String
  • PLACE_ORDER_SUCCESS
  • 订单状态
  • loan_amount
  • Money
  • 放款金额
  • currency
  • Currency
  • 货币描述
  • └ display_name
  • String
  • US Dollar
  • 币种名称
  • └ symbol
  • String
  • $
  • 币种符号
  • └ currency_code
  • String
  • USD
  • 币种
  • └ numeric_code
  • Number
  • 840
  • 币种数字编码
  • └ default_fraction_digits
  • Number
  • 2
  • 默认最小精确度
  • └ currency_code
  • String
  • USD
  • 币种USD/RUB
  • └ cent_factor
  • Number
  • 100
  • 到最小货币单元的乘积因子
  • └ cent
  • Number
  • 10000
  • └ amount
  • String
  • 0
  • 金额
  • pay_amount
  • Money
  • 付款金额
  • currency
  • Currency
  • 货币描述
  • └ display_name
  • String
  • US Dollar
  • 币种名称
  • └ symbol
  • String
  • $
  • 币种符号
  • └ currency_code
  • String
  • USD
  • 币种
  • └ numeric_code
  • Number
  • 840
  • 币种数字编码
  • └ default_fraction_digits
  • Number
  • 2
  • 默认最小精确度
  • └ currency_code
  • String
  • USD
  • 币种USD/RUB
  • └ cent_factor
  • Number
  • 100
  • 到最小货币单元的乘积因子
  • └ cent
  • Number
  • 12000
  • └ amount
  • String
  • 0
  • 金额
  • └ timeout_left_time
  • Number
  • -1160095430
  • 超时剩余时间
  • └ seller_operator_aliid
  • Number
  • 2345678
  • 卖家操作人员的阿里ID
  • └ seller_signer_fullname
  • String
  • leon zhu
  • 卖家全名
  • └ seller_aliid
  • Number
  • 1234567
  • 卖家的阿里ID
  • └ buyer_signer_fullname
  • String
  • horse_ifm xia
  • 买家全名
  • └ seller_login_id
  • String
  • zcl_cnfm
  • 卖家登录ID
  • └ buyer_login_id
  • String
  • cn1234567
  • 买家登录ID
  • └ order_detail_url
  • String
  • http://sdlk.htm
  • 订单详情链接
  • └ gmt_create
  • String
  • 2017-05-12 10:40:02
  • 订单创建时间
  • └ order_id
  • Number
  • 1160045860056286
  • 订单ID
  • └ phone
  • Boolean
  • false
  • 是否手机订单
result_success Boolean true 调用是否成功
error_code String SYSTEM_ERROR 错误码
error_message String system error 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
QimenCloudClient client = new DefaultQimenCloudClient(url, appkey, secret);
AliexpressTradeFindorderlistqueryRequest req = new AliexpressTradeFindorderlistqueryRequest();
req.setId("cn12343523");
AliexpressTradeFindorderlistqueryRequest.OrderListRequest obj1 = new AliexpressTradeFindorderlistqueryRequest.OrderListRequest();
obj1.setCreateDateEnd("10/08/2013 00:00:00");
obj1.setCreateDateStart("10/08/2013 00:00:00");
obj1.setOrderStatusList("");
obj1.setPage(1L);
obj1.setPageSize(20L);
obj1.setOrderStatus("PLACE_ORDER_SUCCESS");
obj1.setModifiedDateStart("10/08/2013 00:00:00");
obj1.setModifiedDateEnd("10/08/2013 00:00:00");
obj1.setBuyerLoginId("test");
req.setParam1(obj1);
AliexpressTradeFindorderlistqueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<result>
    <total_item>5</total_item>
    <order_list>
        <order_item_vo>
            <logisitcs_escrow_fee_rate>0.01</logisitcs_escrow_fee_rate>
            <left_send_good_min>30</left_send_good_min>
            <left_send_good_hour>1</left_send_good_hour>
            <left_send_good_day>2</left_send_good_day>
            <product_list>
                <order_product_vo>
                    <afflicate_fee_rate>0.03</afflicate_fee_rate>
                    <escrow_fee_rate>0.08</escrow_fee_rate>
                    <freight_commit_day>27</freight_commit_day>
                    <memo>information</memo>
                    <issue_mode>12345</issue_mode>
                    <sku_code>14</sku_code>
                    <order_id>1160045860056286</order_id>
                    <send_goods_time>2017-05-12 18:40:02</send_goods_time>
                    <delivery_time>5-10</delivery_time>
                    <goods_prepare_time>3</goods_prepare_time>
                    <logistics_amount>
                        <currency>
                            <display_name>US Dollar</display_name>
                            <symbol>$</symbol>
                            <currency_code>USD</currency_code>
                            <numeric_code>840</numeric_code>
                            <default_fraction_digits>2</default_fraction_digits>
                        </currency>
                        <currency_code>USD</currency_code>
                        <cent_factor>100</cent_factor>
                        <cent>2000</cent>
                        <amount>0</amount>
                    </logistics_amount>
                    <logistics_service_name>EMS</logistics_service_name>
                    <logistics_type>EMS</logistics_type>
                    <seller_signer_last_name>zhu</seller_signer_last_name>
                    <seller_signer_first_name>leon</seller_signer_first_name>
                    <buyer_signer_last_name>xia</buyer_signer_last_name>
                    <buyer_signer_first_name>horse_ifm</buyer_signer_first_name>
                    <product_id>32202975759</product_id>
                    <child_id>1160045860056286</child_id>
                    <total_product_amount>
                        <currency>
                            <display_name>US Dollar</display_name>
                            <symbol>$</symbol>
                            <currency_code>USD</currency_code>
                            <numeric_code>840</numeric_code>
                            <default_fraction_digits>2</default_fraction_digits>
                        </currency>
                        <currency_code>USD</currency_code>
                        <cent_factor>100</cent_factor>
                        <cent>10000</cent>
                        <amount>0</amount>
                    </total_product_amount>
                    <fund_status>NOT_PAY</fund_status>
                    <show_status>PLACE_ORDER_SUCCESS</show_status>
                    <issue_status>NO_ISSUE</issue_status>
                    <son_order_status>PLACE_ORDER_SUCCESS</son_order_status>
                    <product_unit_price>
                        <currency>
                            <display_name>US Dollar</display_name>
                            <symbol>$</symbol>
                            <currency_code>USD</currency_code>
                            <numeric_code>840</numeric_code>
                            <default_fraction_digits>2</default_fraction_digits>
                        </currency>
                        <currency_code>USD</currency_code>
                        <cent_factor>100</cent_factor>
                        <cent>10000</cent>
                        <amount>0</amount>
                    </product_unit_price>
                    <product_unit>piece</product_unit>
                    <product_count>1</product_count>
                    <product_standard>12345</product_standard>
                    <product_img_url>http://g03.a.alicdn.com/kf/images/eng/no_photo.gif</product_img_url>
                    <product_snap_url>http://www.aliexpress.com:1080/snapshot/null.html?orderId\u003d1160045860056286</product_snap_url>
                    <product_name>auto test product</product_name>
                    <send_goods_operator>SELLER_SEND_GOODS</send_goods_operator>
                    <can_submit_issue>false</can_submit_issue>
                    <money_back3x>false</money_back3x>
                </order_product_vo>
            </product_list>
            <has_request_loan>false</has_request_loan>
            <gmt_send_goods_time>2017-05-12 18:40:02</gmt_send_goods_time>
            <escrow_fee>
                <currency>
                    <display_name>US Dollar</display_name>
                    <symbol>$</symbol>
                    <currency_code>USD</currency_code>
                    <numeric_code>840</numeric_code>
                    <default_fraction_digits>2</default_fraction_digits>
                </currency>
                <currency_code>USD</currency_code>
                <cent_factor>100</cent_factor>
                <cent>100</cent>
                <amount>0</amount>
            </escrow_fee>
            <escrow_fee_rate>1</escrow_fee_rate>
            <frozen_status>NO_FROZEN</frozen_status>
            <issue_status>NO_ISSUE</issue_status>
            <logistics_status>NO_LOGISTICS</logistics_status>
            <fund_status>NOT_PAY</fund_status>
            <payment_type>migs</payment_type>
            <gmt_pay_time>2017-05-12 20:40:02</gmt_pay_time>
            <biz_type>AE_COMMON</biz_type>
            <order_status>PLACE_ORDER_SUCCESS</order_status>
            <loan_amount>
                <currency>
                    <display_name>US Dollar</display_name>
                    <symbol>$</symbol>
                    <currency_code>USD</currency_code>
                    <numeric_code>840</numeric_code>
                    <default_fraction_digits>2</default_fraction_digits>
                </currency>
                <currency_code>USD</currency_code>
                <cent_factor>100</cent_factor>
                <cent>10000</cent>
                <amount>0</amount>
            </loan_amount>
            <pay_amount>
                <currency>
                    <display_name>US Dollar</display_name>
                    <symbol>$</symbol>
                    <currency_code>USD</currency_code>
                    <numeric_code>840</numeric_code>
                    <default_fraction_digits>2</default_fraction_digits>
                </currency>
                <currency_code>USD</currency_code>
                <cent_factor>100</cent_factor>
                <cent>12000</cent>
                <amount>0</amount>
            </pay_amount>
            <timeout_left_time>-1160095430</timeout_left_time>
            <seller_operator_aliid>2345678</seller_operator_aliid>
            <seller_signer_fullname>leon zhu</seller_signer_fullname>
            <seller_aliid>1234567</seller_aliid>
            <buyer_signer_fullname>horse_ifm xia</buyer_signer_fullname>
            <seller_login_id>zcl_cnfm</seller_login_id>
            <buyer_login_id>cn1234567</buyer_login_id>
            <order_detail_url>http://sdlk.htm</order_detail_url>
            <gmt_create>2017-05-12 10:40:02</gmt_create>
            <order_id>1160045860056286</order_id>
            <phone>false</phone>
        </order_item_vo>
    </order_list>
</result>
<result_success>true</result_success>
<error_code>SYSTEM_ERROR</error_code>
<error_message>system error</error_message>

异常示例

  • 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

返回
顶部