v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Get catalog promotion details

get/api_gateway/rewards/core/v1/promotion/{promotion Id}/brand/{brandId}

Query parameters

promotionidstring required

Unique ID of reward.

brandIdinteger required

Unique ID of the brand.

Response

200

Example response

{
  "status": {
    "success": true,
    "code": 11008,
    "message": "Catalog promotion fetched successfully."
  },
  "catalogPromotion": {
    "id": 8800,
    "name": "test1",
    "orgId": 100458,
    "isEnabled": true,
    "startTime": "2025-03-14 20:58:49",
    "startDateTime": "2025-03-14T20:58:49Z",
    "endTime": "2025-10-25 05:46:00",
    "endDateTime": "2025-10-25T05:46:00Z",
    "discountType": "ABSOLUTE",
    "discountValue": 1,
    "lastUpdatedOn": "2025-03-13 09:48:42",
    "lastUpdatedOnDateTime": "2025-03-13T09:48:42Z",
    "createdOn": "2025-03-13 09:48:42",
    "createdOnDateTime": "2025-03-13T09:48:42Z",
    "lastUpdatedBy": 75140757,
    "createdBy": 75140757,
    "languageSpecificInfo": [
      {
        "languageCode": "en",
        "name": "test1",
        "description": "description",
        "enabled": true,
        "createdBy": 75140757,
        "createdOn": "2025-03-13 09:48:42",
        "createdOnDateTime": "2025-03-13T09:48:42Z",
        "lastUpdatedBy": 75140757,
        "lastUpdateOn": "2025-03-13 09:48:42",
        "lastUpdateOnDateTime": "2025-03-13T09:48:42Z"
      }
    ],
    "customFields": {
      "A": "1",
      "CF1233": "1",
      "EnumCF2": "r1",
      "EnumCF1": "white"
    },
    "rewards": [
      {
        "id": 8799,
        "rewardId": 308795,
        "promotionId": 8800,
        "startTime": "2025-03-14 20:58:49",
        "startDateTime": "2025-03-14T20:58:49Z",
        "endTime": "2025-10-25 05:46:00",
        "endDateTime": "2025-10-25T05:46:00Z",
        "intouchPointsPostDiscount": 99,
        "configId": 3914
      }
    ]
  }
}