Get list of promotions

This API is used to get the list of catalog promotions for a brand.

👍

Note

For detailed information about our APIs and for hands-on testing, refer documentation in API overview and step-by-step guide on making your first API call in Make your first API call .

Prerequisites

  • Authentication: Basic or OAuth authentication
  • Default access group

Resource information

URI/api_gateway/rewards/core/v1/promotion/brand/{brand Id}
HTTP MethodGET
PaginationNo
Batch supportNo
Rate limit informationNone

API endpoint example

https://eucrm.cc.capillarytech.com/api_gateway/rewards/core/v1/promotion/brand/1

Request path parameters

ParametersData TypeDescription
Brand ID*StringUnique identifier for the brand. Ex: 1
https://eucrm.cc.capillarytech.com/api_gateway/rewards/core/v1/promotion/brand/1 

Response parameters

Parameter NameData TypeDescription
statusObjectContains the status information of the request.
successBooleanIndicates the success status of the request.
codeIntegerThe status code of the response.
messageStringThe message describing the status.
idIntegerThe unique identifier of the catalog promotion.
nameStringThe name of the catalog promotion.
orgIdIntegerThe organization ID associated with the promotion.
isEnabledBooleanIndicates whether the promotion is enabled.
startTimeStringThe start time of the promotion.
startDateTimeStringStart date and time of the field in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
endTimeStringThe end time of the promotion.
endDateTimeStringEnd date and time of the field in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
discountTypeStringThe type of discount applied in the promotion.
discountValueNumberThe value of the discount.
lastUpdatedOnDateLast updated on date and time of the field in YYYY-MM-DDTHH:MM:SS
lastUpdatedOnDateTimeStringLast updated on date and time of the field in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
createdOnDateCreated on date and time of the field in YYYY-MM-DDTHH:MM:SS
createdOnDateTimeStringCreated on date and time of the field in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
lastUpdatedByIntegerThe ID of the user who last updated the promotion.
createdByIntegerThe ID of the user who created the promotion.
languageSpecificInfoNull/ObjectLanguage-specific information, if available.
{
    "status": {
        "success": true,
        "code": 11008,
        "message": "Catalog promotion fetched successfully."
    },
    "catalogPromotions": [
        {
            "id": 1,
            "name": "P1- R-5165 P1- R-5165 upadted 2",
            "orgId": 100458,
            "isEnabled": false,
            "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.00,
            "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,
            "languageSpecificInfo": null,
            "customFields": {
                "A": "1",
                "CF1233": "1",
                "EnumCF2": "r1",
                "EnumCF1": "white"
            }
        },
        {
            "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.00,
            "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": null,
            "customFields": {
                "A": "1",
                "CF1233": "1",
                "EnumCF2": "r1",
                "EnumCF1": "white"
            }
        }
    ]
}
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!