接口说明
- 调用的虎符API名称:jingdong.hufu.jdOnlinePointsUpdate
- 虎符调出API名称:jdOnlinePointsUpdate
- 接口描述:线上积分增量写入
- 当品牌商更新京东单个会员积分增量时,会调用此接口
- 该接口为品牌商调用京东
入参规范
<?xml version="1.0" encoding="utf-8"?>
<request>
<customerId name="商家应用唯一标识" type="String" required="true"></customerId>
<customerPin name="京东用户pin" type="String" required="true"></customerPin>
<point name="积分" type="Long" required="true"></point >
<type name="积分变更类型(1.扣减 , 2.增加)" type="Integer" required="true"></type>
<recordId name="记录ID保证业务唯一性" type="String" required="true"></recordId>
<content name="业务描述(增减积分场景)" type="String" required="true"></content>
<ext name="拓展信息" type="String" required="true"></ext>
</request>
出参规范
<?xml version="1.0" encoding="utf-8"?>
<response>
<resultCode name="查询结果代码:" type="String" required="true">
<![CDATA[
处理结果代码:
SUC:处理成功
E01:参数错误
E02:会员不存在
E03:积分不足
E04:该业务已经执行
E05:其他原因
]]>
</resultCode>
<errMsg name="失败原因" type="String" required="false"></ext>
<onlinePointsIncResult>
<customerId name="商家应用唯一标识" type="String" required="true"></customerId>
<customerPin name="京东用户pin" type="String" required="true"></customerPin>
</onlinePointsIncResult>
</response>