aliexpress.social.shopping.order.details (速賣通社交購物訂單詳細信息)

Allows to get details about order

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
locale String 可选 ru_RU locale
order_id Number 可选 1231231 order id

响应参数

名称 类型 示例值 描述
result OpenApiResult - -
  • └ error_code
  • String
  • -
  • -
  • └ error_message
  • String
  • -
  • -
  • result
  • OrderDetailDto
  • -
  • -
  • └ can_cancel
  • Boolean
  • -
  • -
  • └ can_confirm_received
  • Boolean
  • -
  • -
  • └ can_evaluate
  • Boolean
  • -
  • -
  • └ can_extend
  • Boolean
  • -
  • -
  • └ can_pay
  • Boolean
  • -
  • -
  • └ can_resume
  • Boolean
  • -
  • -
  • └ can_tracking
  • Boolean
  • -
  • -
  • └ creation_time
  • String
  • -
  • -
  • └ frozen_status
  • String
  • -
  • -
  • └ fund_status
  • String
  • -
  • -
  • └ issue_status
  • String
  • -
  • -
  • └ logistics_status
  • String
  • -
  • -
  • └ order_id
  • Number
  • -
  • -
  • └ over_time_milliseconds
  • Number
  • -
  • -
  • products
  • OrderProductDto []
  • -
  • -
  • └ amount_cents
  • Number
  • -
  • -
  • └ currency
  • String
  • -
  • -
  • └ delivery_time_days
  • String
  • -
  • -
  • └ product_id
  • String
  • -
  • -
  • └ product_img_url
  • String
  • -
  • -
  • properties
  • Properties
  • -
  • -
  • └ empty
  • Boolean
  • -
  • -
  • └ reason_for_order_termination
  • String
  • -
  • -
  • └ show_status
  • String
  • -
  • -
  • └ status
  • String
  • -
  • -
  • └ cashier_token
  • String
  • -
  • -
  • tracking_infos
  • PackageInfo []
  • []
  • tracking data
  • └ current_status_description
  • String
  • Delivering
  • status
  • └ max_expected_delivery_time
  • String
  • 30-50
  • max expected delivery time
  • └ sent_time_epoch
  • Number
  • -
  • sent time
  • └ status_code
  • Number
  • -
  • status code
  • └ tracking_code
  • String
  • -
  • tracking number
  • └ tracking_url
  • String
  • -
  • tracking url
  • └ success
  • Boolean
  • -
  • -

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressSocialShoppingOrderDetailsRequest req = new AliexpressSocialShoppingOrderDetailsRequest();
req.setLocale("ru_RU");
req.setOrderId(1231231L);
AliexpressSocialShoppingOrderDetailsResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_social_shopping_order_details_response>
    <result>
        <error_code>-</error_code>
        <error_message>-</error_message>
        <result>
            <can_cancel>-</can_cancel>
            <can_confirm_received>-</can_confirm_received>
            <can_evaluate>-</can_evaluate>
            <can_extend>-</can_extend>
            <can_pay>-</can_pay>
            <can_resume>-</can_resume>
            <can_tracking>-</can_tracking>
            <creation_time>-</creation_time>
            <frozen_status>-</frozen_status>
            <fund_status>-</fund_status>
            <issue_status>-</issue_status>
            <logistics_status>-</logistics_status>
            <order_id>-</order_id>
            <over_time_milliseconds>-</over_time_milliseconds>
            <products>
                <order_product_dto>
                    <amount_cents>-</amount_cents>
                    <currency>-</currency>
                    <delivery_time_days>-</delivery_time_days>
                    <product_id>-</product_id>
                    <product_img_url>-</product_img_url>
                    <properties>
                        <empty>-</empty>
                    </properties>
                </order_product_dto>
            </products>
            <reason_for_order_termination>-</reason_for_order_termination>
            <show_status>-</show_status>
            <status>-</status>
            <cashier_token>-</cashier_token>
            <tracking_infos>
                <package_info>
                    <current_status_description>Delivering</current_status_description>
                    <max_expected_delivery_time>30-50</max_expected_delivery_time>
                    <sent_time_epoch>-</sent_time_epoch>
                    <status_code>-</status_code>
                    <tracking_code>-</tracking_code>
                    <tracking_url>-</tracking_url>
                </package_info>
            </tracking_infos>
        </result>
        <success>-</success>
    </result>
</aliexpress_social_shopping_order_details_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

返回
顶部