API接口目录

平台业务

商品API
价格API
库存API
销售准备API
交易API
退货退款API(新)
财务API
店铺API
物流API
促销API
分销API
发票API
招商API
换货API
互动营销API
退货退款API
客服API
平台营销API
风控API
会员通API
账房API
财务记账API
异常码自查工具
suning.custom.effectdata.add 互动活动每日效果数据上报
¥免费

互动活动每日效果数据上报

公共参数
请求参数
名称 类型 是否必须 示例值 描述
activityIdStringY20040614103860942631互动活动id
dateStringY2021-03-01数据统计日期
activityPvStringN1活动页面PV
activityUvStringN1活动页面UV
newJoinedCountStringN1新增参与活动人数
xhJoinedCountStringN1星河资源位贡献参与活动人数
xhNewJoinedCountStringN1星河资源位贡献新增参与活动人数
initInvitationCountStringN1发起邀请人数
helpCountStringN1助力人数
cloudDiamondCountStringN1云钻发放总数
storeEffectListStringN
storeCodeStringY70073822店铺编码
storeNameStringN云南松下冰箱店铺名称
joinedCountStringN1店铺参与活动人数
storeNewJoinedCountStringN1店铺新增参与活动人数
couponCountStringN1店铺优惠券发放总数量
newMemberCountStringN1店铺新增会员数
newFansCountStringN1店铺新增粉丝数
scanStoreCountStringN1店铺浏览次数
scanStoreUserCountStringN1店铺浏览人数
scanStoreNewUserCountStringN1店铺新增浏览人数
goodsEffectListStringN
goodsNameStringN商品名称1商品名称
scanGoodsCountStringN1商品浏览次数
scanGoodsUserCountStringN1商品浏览人数
scanGoodsNewUserCountStringN1商品新增浏览人数
goodsCodeStringN商品编码商品编码
响应参数
名称 类型 示例值 描述
resultStringY成功标识
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <addEffectdata>
      <date>2021-03-01</date>
      <newJoinedCount>1</newJoinedCount>
      <activityId>20040614103860942631</activityId>
      <initInvitationCount>1</initInvitationCount>
      <xhNewJoinedCount>1</xhNewJoinedCount>
      <cloudDiamondCount>1</cloudDiamondCount>
      <helpCount>1</helpCount>
      <storeEffectList>
        <scanStoreCount>1</scanStoreCount>
        <goodsEffectList>
          <scanGoodsNewUserCount>1</scanGoodsNewUserCount>
          <scanGoodsCount>1</scanGoodsCount>
          <goodsCode>商品编码</goodsCode>
          <goodsName>商品名称1</goodsName>
          <scanGoodsUserCount>1</scanGoodsUserCount>
        </goodsEffectList>
        <newFansCount>1</newFansCount>
        <scanStoreUserCount>1</scanStoreUserCount>
        <scanStoreNewUserCount>1</scanStoreNewUserCount>
        <storeNewJoinedCount>1</storeNewJoinedCount>
        <couponCount>1</couponCount>
        <storeName>云南松下冰箱</storeName>
        <newMemberCount>1</newMemberCount>
        <joinedCount>1</joinedCount>
        <storeCode>70073822</storeCode>
      </storeEffectList>
      <activityUv>1</activityUv>
      <xhJoinedCount>1</xhJoinedCount>
      <activityPv>1</activityPv>
    </addEffectdata>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "addEffectdata": {
        "date": "2021-03-01",
        "newJoinedCount": "1",
        "activityId": "20040614103860942631",
        "initInvitationCount": "1",
        "xhNewJoinedCount": "1",
        "cloudDiamondCount": "1",
        "helpCount": "1",
        "storeEffectList": [
          {
            "scanStoreCount": "1",
            "goodsEffectList": [
              {
                "scanGoodsNewUserCount": "1",
                "scanGoodsCount": "1",
                "goodsCode": "商品编码",
                "goodsName": "商品名称1",
                "scanGoodsUserCount": "1"
              }
            ],
            "newFansCount": "1",
            "scanStoreUserCount": "1",
            "scanStoreNewUserCount": "1",
            "storeNewJoinedCount": "1",
            "couponCount": "1",
            "storeName": "云南松下冰箱",
            "newMemberCount": "1",
            "joinedCount": "1",
            "storeCode": "70073822"
          }
        ],
        "activityUv": "1",
        "xhJoinedCount": "1",
        "activityPv": "1"
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <addEffectdata>
      <result>Y</result>
    </addEffectdata>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "addEffectdata": {
        "result": "Y"
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.custom.addeffectdata.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
biz.custom.addeffectdata.format-error:* 参数格式错误 请检查此参数的值,*号表示参数字段名
isp.sys.service.unavailable.xhwmp 服务不可用 请联系苏宁技术人员
公共异常码
API工具
FAQ