alibaba.damai.mp.ptnr.updateopenaccountprofile (更新账号profile信息)

更新账号profile信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
context Json 可选 { "appDomain": "5357049", "appKey": "24526121", "appSecret": "58a4d3696199491eb3a3598dd63903d9" } 上下文
open_account_profile OpenAccountProfile 可选 1
  • └ birthday
  • String
  • 可选
  • 1
  • 1
  • └ country
  • String
  • 可选
  • 1
  • 1
  • └ gender
  • Number
  • 可选
  • 1
  • 1
  • └ oauth_plateform
  • Number
  • 可选
  • 1
  • 1
  • └ display_name
  • String
  • 可选
  • 1
  • 1
  • └ wangwang
  • String
  • 可选
  • 1
  • 1
  • └ company_name
  • String
  • 可选
  • 1
  • 1
  • └ ext_infos
  • String
  • 可选
  • {}
  • 1
  • └ type
  • Number
  • 可选
  • 1
  • 1
  • └ locale
  • String
  • 可选
  • 1
  • 1
  • └ security_mobile
  • String
  • 可选
  • 1
  • 1
  • └ mobile_conflict_account
  • Boolean
  • 可选
  • false
  • 1
  • └ id
  • Number
  • 可选
  • 1
  • 1
  • └ create_location
  • String
  • 可选
  • 1
  • 1
  • └ avatar_url
  • String
  • 可选
  • 1
  • 1
  • └ bank_card_no
  • String
  • 可选
  • 1
  • 1
  • └ security_email
  • String
  • 可选
  • 1
  • 1
  • └ parent_id
  • Number
  • 可选
  • 1
  • 1
  • └ weixin
  • String
  • 可选
  • 1
  • 1
  • └ create_device_id
  • String
  • 可选
  • 1
  • 1
  • └ bank_card_owner_name
  • String
  • 可选
  • 1
  • 1
  • └ name
  • String
  • 可选
  • 1
  • 1
  • └ is_sub_account
  • Boolean
  • 可选
  • false
  • 1
  • └ enable_device
  • Boolean
  • 可选
  • false
  • 1
  • └ alipay_id
  • String
  • 可选
  • 1
  • 1
  • └ status
  • Number
  • 可选
  • 1
  • 1

响应参数

名称 类型 示例值 描述
result Json {} result

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDamaiMpPtnrUpdateopenaccountprofileRequest req = new AlibabaDamaiMpPtnrUpdateopenaccountprofileRequest();
req.setContextString("{     \"appDomain\": \"5357049\",     \"appKey\": \"24526121\",     \"appSecret\": \"58a4d3696199491eb3a3598dd63903d9\"   }");
AlibabaDamaiMpPtnrUpdateopenaccountprofileRequest.OpenAccountProfile obj1 = new AlibabaDamaiMpPtnrUpdateopenaccountprofileRequest.OpenAccountProfile();
obj1.setBirthday("1");
obj1.setCountry("1");
obj1.setGender(1L);
obj1.setOauthPlateform(1L);
obj1.setDisplayName("1");
obj1.setWangwang("1");
obj1.setCompanyName("1");
obj1.setExtInfos("{}");
obj1.setType(1L);
obj1.setLocale("1");
obj1.setSecurityMobile("1");
obj1.setMobileConflictAccount(false);
obj1.setId(1L);
obj1.setCreateLocation("1");
obj1.setAvatarUrl("1");
obj1.setBankCardNo("1");
obj1.setSecurityEmail("1");
obj1.setParentId(1L);
obj1.setWeixin("1");
obj1.setCreateDeviceId("1");
obj1.setBankCardOwnerName("1");
obj1.setName("1");
obj1.setIsSubAccount(false);
obj1.setEnableDevice(false);
obj1.setAlipayId("1");
obj1.setStatus(1L);
req.setOpenAccountProfile(obj1);
AlibabaDamaiMpPtnrUpdateopenaccountprofileResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_damai_mp_ptnr_updateopenaccountprofile_response>
    <result>{}</result>
</alibaba_damai_mp_ptnr_updateopenaccountprofile_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

返回
顶部