aliexpress.member.accountcenter.profile.get (Aliexpress查询profile)

Aliexpress查询profile

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
user_id Number 可选 123 user_id
ship_to String 可选 RU
  • 默认值:RU
  • shipTo

    响应参数

    名称 类型 示例值 描述
    return_object UserProfileResponse return_object
    • └ user_id
    • Number
    • 123
    • userId
    • └ login_mobile
    • String
    • N
    • loginMobile
    • └ email
    • String
    • N
    • email
    • └ login_id
    • String
    • N
    • loginId
    • └ havana_id
    • Number
    • 123
    • havanaId
    • └ account_group_id
    • Number
    • 123
    • accountGroupId
    • └ admin_account_id
    • Number
    • 123
    • adminAccountId
    • └ first_name
    • String
    • N
    • firstName
    • └ last_name
    • String
    • N
    • lastName
    • └ gender
    • String
    • N
    • gender
    • └ avatar_path
    • String
    • N
    • avatarPath
    • └ country
    • String
    • N
    • country
    • └ province
    • String
    • N
    • province
    • └ city
    • String
    • N
    • city
    • └ address
    • String
    • N
    • address
    • └ zip
    • String
    • N
    • zip
    • └ contact_mobile
    • String
    • N
    • contactMobile
    • └ fax
    • String
    • N
    • fax
    • └ tel
    • String
    • N
    • tel
    • └ status
    • String
    • N
    • status
    return_code Number 0 return_code
    return_code_info String N return_code_info

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AliexpressMemberAccountcenterProfileGetRequest req = new AliexpressMemberAccountcenterProfileGetRequest();
    req.setUserId(123L);
    req.setShipTo("RU");
    AliexpressMemberAccountcenterProfileGetResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <aliexpress_member_accountcenter_profile_get_response>
        <return_object>
            <user_id>123</user_id>
            <login_mobile>N</login_mobile>
            <email>N</email>
            <login_id>N</login_id>
            <havana_id>123</havana_id>
            <account_group_id>123</account_group_id>
            <admin_account_id>123</admin_account_id>
            <first_name>N</first_name>
            <last_name>N</last_name>
            <gender>N</gender>
            <avatar_path>N</avatar_path>
            <country>N</country>
            <province>N</province>
            <city>N</city>
            <address>N</address>
            <zip>N</zip>
            <contact_mobile>N</contact_mobile>
            <fax>N</fax>
            <tel>N</tel>
            <status>N</status>
        </return_object>
        <return_code>0</return_code>
        <return_code_info>N</return_code_info>
    </aliexpress_member_accountcenter_profile_get_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

    返回
    顶部