API文档

变更积分(ModifyPointsRecord)


调用该接口可变更客户(会员)的积分值,支持批量变更(每次最多20个)。使用场景:线下系统中会员积分发生变动时,调用该接口通知旺铺变更线上会员卡积分以同步积分,同时会产生一条积分明细记录。 前提条件:线上和线下的会员已经关联。

接口信息

协议 请求方式 请求地址
HTTPS POST https://dopen.weimob.com/api/1_0/WPMemberCard/MemberOpenPlatformService/ModifyPointsRecord?accesstoken=ACCESS_TOKEN

请求参数

请求示例

{
"customer_nos": [
"1231559251982295043",
"1231605754361016323"
],
"points": 10,
"mulshopid": 0,
"transaction_mode": 5,
"opreater": "张三丰",
"remark": "送点积分",
"verify_id": "135631135241"
}				

响应参数

响应示例

{
"data": {
"status": true,
"result_msg": "success",
"error_items": null
},
"code": {
"errcode": 0,
"errmsg": null
}
}				

全局返回码

返回码 描述
-1 system is busy
0 success
80001001000101 error_uri
80001001000102 invalid_request
80001001000103 invalid_client
80001001000104 invalid_grant
80001001000105 unauthorized_client
80001001000106 unsupported_grant_type
80001001000107 invalid_scope
80001001000108 insufficient_scope
80001001000109 invalid_token
80001001000110 redirect_uri_mismatch
80001001000111 unsupported_response_type
80001001000112 access_denied
80001001000113 unauthorized
80001001000114 need get method
80001001000115 need post method
80001001000116 server error, contact us please

售前咨询热线

10105188

在线QQ咨询

关注微盟

扫描关注官方微信

总部咨询热线:10105188 QQ:4006305400 邮箱:feedback@weimob.com 举报电话:02180356016

地址:上海市宝山区长江路258号微盟大厦

Copyright © 2011-2019 yun.weimob.com. All Rights Reserved 上海微盟企业发展有限公司版权所有 沪ICP备14044897号-9