公开  
参数名称 类型 是否必填 参数描述 备注
api_key String 系统分配的ApiKey
api_target String 调用接口名称 com_cmall_familyhas_api_ApiForSubscribe
api_input String 输入参数 应用输入参数的JSON格式
参数名称 类型 必填 示例 参数描述 备注
time int 设置推送时间 活动开始前X分钟前通知。X为入参数字,非必填项,如果为空,则默认距活动开始2分钟前推送
source String xcx 请求来源 来源:(xcx:小程序),(wxshop:微信商城),(ios:苹果APP) ,(android:安卓APP)
subscribeType String 订阅类型 (449748680003 购物车降价提醒 ),(449748680002 收藏降价提醒 ),( 449748680001 积分/惠币打卡提醒),(449748680010 每日签到活动(新)提醒)
orderCode String 订单号 订阅通知订单号
productCode String 商品编号 订阅通知的商品编号
type int 预约类型 1:预约,0:取消预约
openId String 用户微信标识openId 用户标识,调用推送消息网关用
version int 版本号 仅用于扩展,无需传入
参数名称 类型 参数描述 备注
resultCode int 返回标记 如果返回标记1则为API调用成功 否则则是错误编号
resultMessage String 返回消息 返回的消息描述