v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Enable or Disable Reward Categories

Enable or disable a particular reward category.

put/api_gateway/rewards/core/v1/metadata/category/{categoryId}/status/{action}/brand/{brandId}

Path parameters

categoryIdinteger required

Unique identifier for the reward category that needs to be enabled.

brandIdinteger required

Unique identifier for the brand under which the reward category is associated.

action'enable' | 'disable' required

Action to be performed.

Response

200

Example response

{
  "status": {
    "success": true,
    "code": 2006,
    "message": "Category updated successfully"
  }
}