v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Get list of Catalog promotions

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

Query parameters

BrandIdinteger

Unique ID of the brand.

Response

200

Example response

{
  "status": {
    "success": true,
    "code": 11008,
    "message": "Catalog promotion fetched successfully."
  },
  "catalogPromotions": [
    {
      "id": 1,
      "name": "P1- R-5165 P1- R-5165 upadted 2",
      "orgId": 100458,
      "startTime": "2023-04-26 06:58:49",
      "startDateTime": "2023-04-26T06:58:49Z",
      "endTime": "2024-10-25 11:16:00",
      "endDateTime": "2024-10-25T11:16:00Z",
      "discountType": "ABSOLUTE",
      "discountValue": 1,
      "lastUpdatedOn": "2023-11-16 10:10:03",
      "lastUpdatedOnDateTime": "2023-11-16T10:10:03Z",
      "createdOn": "2023-04-25 13:59:28",
      "createdOnDateTime": "2023-11-16T10:10:03Z",
      "lastUpdatedBy": 75078478,
      "createdBy": 75078478,
      "customFields": {
        "A": "1",
        "CF1233": "1",
        "EnumCF2": "r1",
        "EnumCF1": "white"
      }
    }
  ]
}