Get available brand rewards

This API allows you to retrieve rewards that are available to be linked to an catalog promotion.

👍

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/reward/brand/{brandId}/available?startDate={YYYY-MM-DDTHH:MMZ}&endDate={YYYY-MM-DDTHH:MMZ}
HTTP MethodGET
PaginationNo
Batch supportNo
Rate limit informationNone

API endpoint example

https://eu.api.capillarytech.com/api_gateway/rewards/core/v1/reward/brand/1/available?startDate=2023-04-20T08:55Z&endDate=2024-07-30T08:55Z

Request path parameters

Parameter NameData TypeDescription
brandId*StringYou can use the API and retrieve the brand ID of your brand.

Request query parameters

Parameter NameData TypeDescription
startDate*DateTimeThe start date of the reward. Format for the startDate should be YYYY-MM-DDTHH:MMZ.
endDate*DateTimethe end date of the reward. Format for the endDate should be YYYY-MM-DDTHH:MMZ.
https://eu.api.capillarytech.com/api_gateway/rewards/core/v1/reward/brand/1/available?startDate=2022-04-20T08:55Z&endDate=2022-11-30T08:55Z

Response parameters

ParametersDescription
statusContains status information about the reward details fetch request.
successIndicates whether the reward details were fetched successfully.
codeA unique code representing the status of the request.
messageA message describing the status of the request.
rewardListA list of rewards available.
idA unique identifier for the reward.
nameThe name of the reward.
statusThe status of the reward For example: LIVE, ENDED or UPCOMING.
startTimeThe start date and time of the reward in YYYY-MM-DD HH:MM:SS format.
endTimeThe end date and time of the reward in YYYY-MM-DD HH:MM:SS format.
typeThe type of reward.
priorityThe priority of the reward.
enabledIndicates whether the reward is currently enabled.
intouchPointsThe number of points required for redemption.
redemptionTypeSpecifies the category of reward redemption available, that indicate how users can redeem the reward.
groupsContains group details associated with the reward.
groupNameThe name of the group associated with the reward.
groupRankThe rank of the group associated with the reward.
rewardRankThe rank of the reward.
customFieldsCustom fields for the reward.
paymentConfigsContains payment configuration details for the reward.
paymentModeThe mode of payment for the reward. For example: FREE, POINTS, CASH, POINTS_CASH.
idA unique identifier for the payment configuration.
pointsThe number of points required for redemption in the POINTS payment mode.
{
    "status": {
        "success": true,
        "code": 6101,
        "message": "Reward details fetched successfully"
    },
    "rewardList": [
        {
            "id": 4,
            "name": "10% off on clothing",
            "status": "ENDED",
            "startTime": "2021-05-10 18:45:14",
            "endTime": "2021-05-10 18:45:14",
            "type": "VOUCHER",
            "priority": 1,
            "enabled": false,
            "intouchPoints": 100,
            "redemptionType": "INTOUCH_REWARD",
            "groups": [],
            "rewardRank": null,
            "customFields": {},
            "paymentConfigs": null
        },
        {
            "id": 7,
            "name": "15% off on Skinny Jeans",
            "status": "ENDED",
            "startTime": "2021-05-10 18:50:08",
            "endTime": "2021-05-10 18:50:08",
            "type": "VOUCHER",
            "priority": 2,
            "enabled": false,
            "intouchPoints": 200,
            "redemptionType": "INTOUCH_REWARD",
            "groups": [],
            "rewardRank": null,
            "customFields": {},
            "paymentConfigs": null
        },
        {
            "id": 8,
            "name": "200 off on shirts",
            "status": "ENDED",
            "startTime": "2021-05-10 18:54:18",
            "endTime": "2021-05-10 18:54:18",
            "type": "VOUCHER",
            "priority": 3,
            "enabled": false,
            "intouchPoints": 500,
            "redemptionType": "INTOUCH_REWARD",
            "groups": [],
            "rewardRank": null,
            "customFields": {},
            "paymentConfigs": null
        },
        {
            "id": 9,
            "name": "Flat 50% off on shoes",
            "status": "ENDED",
            "startTime": "2021-05-10 19:13:16",
            "endTime": "2021-05-10 19:13:16",
            "type": "VOUCHER",
            "priority": 4,
            "enabled": false,
            "intouchPoints": 300,
            "redemptionType": "INTOUCH_REWARD",
            "groups": [],
            "rewardRank": null,
            "customFields": {},
            "paymentConfigs": null
        },
        {
            "id": 206280,
            "name": "Eggo",
            "status": "ENDED",
            "startTime": "2024-07-26 16:15:00",
            "endTime": "2024-07-26 16:15:00",
            "type": "VOUCHER",
            "priority": 1,
            "enabled": true,
            "intouchPoints": 0,
            "redemptionType": "INTOUCH_REWARD",
            "groups": [
                {
                    "groupName": "Kellanova Rewards",
                    "groupRank": null
                }
            ],
            "rewardRank": 5,
            "customFields": {},
            "paymentConfigs": [
                {
                    "paymentMode": "FREE",
                    "id": 336
                }
            ]
        },
        {
            "id": 206281,
            "name": "Poptarts",
            "status": "ENDED",
            "startTime": "2024-07-26 16:15:00",
            "endTime": "2024-07-26 16:15:00",
            "type": "VOUCHER",
            "priority": 1,
            "enabled": true,
            "intouchPoints": 0,
            "redemptionType": "INTOUCH_REWARD",
            "groups": [
                {
                    "groupName": "Kellanova Rewards",
                    "groupRank": null
                }
            ],
            "rewardRank": 1,
            "customFields": {},
            "paymentConfigs": [
                {
                    "paymentMode": "FREE",
                    "id": 337
                }
            ]
        },
        {
            "id": 206609,
            "name": "testreward1",
            "status": "LIVE",
            "startTime": "2024-07-26 07:38:00",
            "endTime": "2024-07-26 07:38:00",
            "type": "VOUCHER",
            "priority": 1,
            "enabled": true,
            "intouchPoints": 500,
            "redemptionType": "INTOUCH_REWARD",
            "groups": [],
            "rewardRank": 1,
            "customFields": {},
            "paymentConfigs": [
                {
                    "paymentMode": "POINTS",
                    "id": 344,
                    "points": 100.0000
                }
            ]
        },
        {
            "id": 206610,
            "name": "$10 cash back reward",
            "status": "LIVE",
            "startTime": "2024-07-26 07:38:00",
            "endTime": "2024-07-26 07:38:00",
            "type": "VOUCHER",
            "priority": 1,
            "enabled": true,
            "intouchPoints": 1000,
            "redemptionType": "INTOUCH_REWARD",
            "groups": [],
            "rewardRank": null,
            "customFields": {},
            "paymentConfigs": [
                {
                    "paymentMode": "POINTS",
                    "id": 345,
                    "points": 100.0000
                }
            ]
        },
        {
            "id": 206610,
            "name": "$10 Nordstrom Notes",
            "status": "LIVE",
            "startTime": "2024-07-26 07:38:00",
            "endTime": "2024-07-26 07:38:00",
            "type": "VOUCHER",
            "priority": 1,
            "enabled": true,
            "intouchPoints": 1000,
            "redemptionType": "INTOUCH_REWARD",
            "groups": [],
            "rewardRank": null,
            "customFields": {},
            "paymentConfigs": [
                {
                    "paymentMode": "POINTS",
                    "id": 345,
                    "points": 100.0000
                }
            ]
        }
    ]
}
{
    "status": {
        "success": false,
        "code": 400,
        "message": "start or end date should be passed in proper format yyyy-MM-dd'T'HH:mm'Z'"
    }
}
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!