aliexpress.social.shopping.logistics.address.update (速賣通社交購物物流地址更新)

Allows to update logistic address

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
address_id Number 可选 1858902229 address id
country String 可选 RU country
province String 可选 Altay Respublika province
city String 可选 Anos city
address String 可选 Presnenskaya, 5 address
zip_code String 可选 123456 zip code
phone_country String 可选 +7 phone country
phone String 可选 9173421156 phone
contact_person String 可选 Roboute Gilliman contact person
is_default_logistic_address Boolean 可选 true is default address

响应参数

名称 类型 示例值 描述
result OpenApiResult {} result
  • └ error_code
  • String
  • -
  • error code
  • └ error_message
  • String
  • -
  • error mesage
  • result
  • LogisticAddressVo
  • {}
  • result
  • └ address
  • String
  • "Presnenskaya, 10"
  • address
  • └ city
  • String
  • Anos
  • city
  • └ city_code
  • String
  • 917471659943000000
  • city code
  • └ contact_person
  • String
  • Roboute Gilliman
  • contact person
  • └ country
  • String
  • RU
  • country
  • └ country_name
  • String
  • Russia
  • -
  • └ field_error_message_string
  • String
  • []
  • -
  • └ full_name
  • String
  • Roboute Gilliman
  • -
  • └ id
  • Number
  • 123124134
  • -
  • └ is_default
  • Boolean
  • false
  • -
  • └ locale
  • String
  • ru_RU
  • -
  • └ mobile_no
  • String
  • 9175405422
  • -
  • └ phone_area
  • String
  • -
  • -
  • └ phone_country
  • String
  • +7
  • -
  • └ phone_number
  • String
  • 9175405422
  • -
  • └ province
  • String
  • Altay Respoblika
  • -
  • └ province_code
  • String
  • -
  • -
  • └ zip
  • String
  • 123455
  • -
  • └ success
  • Boolean
  • true
  • -

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressSocialShoppingLogisticsAddressUpdateRequest req = new AliexpressSocialShoppingLogisticsAddressUpdateRequest();
req.setAddressId(1858902229L);
req.setCountry("RU");
req.setProvince("Altay Respublika");
req.setCity("Anos");
req.setAddress("Presnenskaya, 5");
req.setZipCode("123456");
req.setPhoneCountry("+7");
req.setPhone("9173421156");
req.setContactPerson("Roboute Gilliman");
req.setIsDefaultLogisticAddress(true);
AliexpressSocialShoppingLogisticsAddressUpdateResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_social_shopping_logistics_address_update_response>
    <result>
        <error_code>-</error_code>
        <error_message>-</error_message>
        <result>
            <address>&quot;Presnenskaya, 10&quot;</address>
            <city>Anos</city>
            <city_code>917471659943000000</city_code>
            <contact_person>Roboute Gilliman</contact_person>
            <country>RU</country>
            <country_name>Russia</country_name>
            <field_error_message_string>[]</field_error_message_string>
            <full_name>Roboute Gilliman</full_name>
            <id>123124134</id>
            <is_default>false</is_default>
            <locale>ru_RU</locale>
            <mobile_no>9175405422</mobile_no>
            <phone_area>-</phone_area>
            <phone_country>+7</phone_country>
            <phone_number>9175405422</phone_number>
            <province>Altay Respoblika</province>
            <province_code>-</province_code>
            <zip>123455</zip>
        </result>
        <success>true</success>
    </result>
</aliexpress_social_shopping_logistics_address_update_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

返回
顶部