v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Points Restrictions - Create points restriction

post/api_gateway/rewards/core/v1/brand/constraints

Request body

RAW_BODYstring

[ { "kpi" :"POINTS", "constraintLevel" : "CUSTOMER_REDEMPTION_TYPE", "frequencyType" : "DAILY", "intervalValue" : 1, "constraintLimitValue" : 15, "isActive" : true, "redemptionType": "POINTS" } ]

Response

200

rewardConstraintIdinteger
orgIdinteger
kpistring
constraintLevelstring
frequencyTypestring
constraintLimitValueinteger
isActiveboolean
intervalValueinteger
redemptionTypestring

Example response

[
  {
    "rewardConstraintId": 6759,
    "orgId": 50672,
    "kpi": "POINTS",
    "constraintLevel": "CUSTOMER_REDEMPTION_TYPE",
    "frequencyType": "DAILY",
    "constraintLimitValue": 15,
    "isActive": true,
    "intervalValue": 1,
    "status": {
      "success": true
    },
    "redemptionType": "POINTS"
  }
]