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

aliexpress.social.shopping.logistics.address.query (速賣通社交購物物流地址查詢)

Allows to query logistic address

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述

响应参数

名称 类型 示例值 描述
result OpenApiResult - -
  • └ error_code
  • String
  • -
  • error code
  • └ error_message
  • String
  • -
  • error message
  • └ success
  • Boolean
  • true
  • is success
  • result_list
  • LogisticAddressVo []
  • []
  • result list
  • └ address
  • String
  • 20 лет победы коммунизма
  • address
  • └ city
  • String
  • Abagaytuy
  • city
  • └ city_code
  • String
  • -
  • city code
  • └ contact_person
  • String
  • Corvus Corax
  • contact person
  • └ country
  • String
  • RU
  • country
  • └ country_name
  • String
  • Russian
  • country name
  • └ field_error_message_string
  • String
  • -
  • error message
  • └ full_name
  • String
  • -
  • full name
  • └ id
  • Number
  • 231234124
  • address id
  • └ is_default
  • Boolean
  • true
  • is default
  • └ locale
  • String
  • ru_RU
  • locale
  • └ mobile_no
  • String
  • -
  • mobile
  • └ phone_area
  • String
  • -
  • phone area
  • └ phone_country
  • String
  • +7
  • phone country
  • └ phone_number
  • String
  • 9175405468
  • phone number
  • └ province
  • String
  • Altay Republic
  • province
  • └ province_code
  • String
  • 213214234
  • province code
  • └ zip
  • String
  • 123456
  • zip

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressSocialShoppingLogisticsAddressQueryRequest req = new AliexpressSocialShoppingLogisticsAddressQueryRequest();
AliexpressSocialShoppingLogisticsAddressQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_social_shopping_logistics_address_query_response>
    <result>
        <error_code>-</error_code>
        <error_message>-</error_message>
        <success>true</success>
        <result_list>
            <logistic_address_vo>
                <address>20 лет победы коммунизма</address>
                <city>Abagaytuy</city>
                <city_code>-</city_code>
                <contact_person>Corvus Corax</contact_person>
                <country>RU</country>
                <country_name>Russian</country_name>
                <field_error_message_string>-</field_error_message_string>
                <full_name>-</full_name>
                <id>231234124</id>
                <is_default>true</is_default>
                <locale>ru_RU</locale>
                <mobile_no>-</mobile_no>
                <phone_area>-</phone_area>
                <phone_country>+7</phone_country>
                <phone_number>9175405468</phone_number>
                <province>Altay Republic</province>
                <province_code>213214234</province_code>
                <zip>123456</zip>
            </logistic_address_vo>
        </result_list>
    </result>
</aliexpress_social_shopping_logistics_address_query_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

返回
顶部