Get catalog promotion details

This API is used to get the details of a particular catalog promotion for a particular 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/{promotion Id}/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/2/brand/1

Request path parameters

ParameterData TypeDescription
promotionId*StringUnique ID of promotion. Ex: 2
brandId*StringYou can use the API and retrieve the brand ID of your brand.
https://eucrm.cc.capillarytech.com/api_gateway/rewards/core/v1/promotion/2/brand/1

Response parameters

ParameterData TypeDescription
successBooleanIndicates if the request was successful
codeIntegerStatus code
messageStringStatus message
idIntegerUnique identifier of the promotion
nameStringName of the promotion
orgIdIntegerOrganization ID associated with the promotion
isEnabledBooleanIndicates if the promotion is enabled
startTimeStringStart time of the promotion
startDateTimeStringStart date and time of the field in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
endTimeStringEnd time of the promotion
endDateTimeStringEnd date and time of the field in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
discountTypeStringType of discount
discountValueFloatValue of the discount
lastUpdatedOnDateLast updated date and time of the field in Epoch time format
createdOnDateCreation date and time of the field in Epoch time format
lastUpdatedByIntegerID of the user who last updated the promotion
createdByIntegerID of the user who created the promotion
languageCodeStringLanguage code
nameStringName of the promotion in specific language
descriptionStringDescription in specific language
enabledBooleanIndicates if the promotion is enabled in this language
createdByIntegerID of the user who created the language-specific info
createdOnDateCreation date and time of the language-specific info in YYYY-MM-DDTHH:MM:SS time format
createdOnDateTimeStringCreated on date and time of the field in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
lastUpdatedByIntegerID of the user who last updated the language-specific info
lastUpdateOnString (DateTime)Last update date and time of the language-specific info in YYYY-MM-DDTHH:MM:SS time format.
lastUpdatedOnDateTimeStringLast updated on date and time of the field in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
customFieldsObjectCustom fields associated with the promotion
idIntegerUnique identifier of the reward
rewardIdIntegerSpecific reward ID
promotionIdIntegerLinks the reward to the promotion
startTimeString (DateTime)Start time of the reward in YYYY-MM-DDTHH:MM:SS format.
endTimeString (DateTime)End time of the reward YYYY-MM-DDTHH:MM:SS format.
endDateTimeStringEnd date and time of the field in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
expiredBooleanIndicates if the reward has expired
startedBooleanIndicates if the reward has started
intouchPointsPostDiscountIntegerPoints post discount
{
    "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.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": [
            {
                "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",
                "expired": false,
                "started": false,
                "intouchPointsPostDiscount": 99,
                "configId": 3914
            }
        ]
    }
}
    

API-specific error codes

Error codeDescription
11007Catalog promotion not found.
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!