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

文档中心 > API类目 > 店铺会员管理API

alibaba.acrm.addcustogroup (添加会员到分组)

把用户添加到分组

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
seller_member_id String 必须 b2b-2248564064 卖家的memberid
buyer_member_id String 必须 b2b-2248544159 买家的memberId
group_id Number 必须 312654005 分组id

响应参数

名称 类型 示例值 描述
result Json {"message":"success","models":[true],"resultCode":10000,"success":true,"totalCount":1} result

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAcrmAddcustogroupRequest req = new AlibabaAcrmAddcustogroupRequest();
req.setSellerMemberId("b2b-2248564064");
req.setBuyerMemberId("b2b-2248544159");
req.setGroupId(312654005L);
AlibabaAcrmAddcustogroupResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_acrm_addcustogroup_response>
    <result>{&quot;message&quot;:&quot;success&quot;,&quot;models&quot;:[true],&quot;resultCode&quot;:10000,&quot;success&quot;:true,&quot;totalCount&quot;:1}</result>
</alibaba_acrm_addcustogroup_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

返回
顶部