Get Details of all Loyalty Promotions

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
❗️

This API is being phased out and will no longer be available for viewing loyalty promotions.

To view loyalty promotions, use the Get Details of all Loyalty Promotions API


This API lists and provides details of all the promotions available in the org. This includes the types of promotions, point and redemption restriction details, start and end dates, activation status etc, ranking and stacking information.

By default, the types of promotions, ranking and stacking are not available for all the orgs. This needs to be enabled separately. For more details on the types of promotions, refer Types of promotions.

📘

Note

This API fetches results for loyalty promotions created on the old UI.

Types of promotions

There are three different types of promotions:

  • GENERIC (UI term - Available without issue)
  • LOYALTY (UI term - Direct issue)
  • LOYALTY_EARNING (UI term - Enrol & Issue)

The field pointsOfferType in the response provides information on the type of promotion.

Limits and restrictions

If the Types of promotions is enabled for your organisation, then the information regarding the limits and restrictions on issual, earning, or redemption is available in the object promotionRestriction. This information is also replicated in the limits and customerUsage objects.

API endpoint example

curl --location 'https://eu.api.capillarytech.com/api_gateway/loyalty/v1/programs/promotions/list?limit=10&offset=0' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--header 'Authorization: Basic ************' \
--header 'Cookie: _cfuvid=oCx4C8KazrLVe76IdGzzaE5SAVi3XBrgSQL3V8eaXIQ-1758619160515-0.0.1.1-604800000'

Prerequisites

  • Authentication: Basic or OAuth authentication
  • Access group resource: Read access to customer group resource

Resource information

URI/api_gateway/loyalty/v1/programs/promotions/list
HTTP methodGET
Pagination supported?Yes
Batch supportNo

Query Parameters

(Parameters marked with * are mandatory)Data TypeDescription
limit*IntegerNumber of entries in a page.
Maximum value: 100
offset*IntegerPage number you want to fetch.
programLongProgram ID associated with the promotion.
statusEnumStatus of promotion. Valid values are COMPLETED, LIVE, UPCOMING, INACTIVE.
activityEnumEvent name for promotion. Valid values are CustomerRegistration, CustomerUpdate, GenericEvent, NewBill, PointsContributionToGroup, PointsTransfer, ReturnBill,TargetCompleted, TransactionAdd, ALL.
startDateStringStart date of the promotion in ISO8601 format. Example: 2024-04-04T00:00Z
endDateStringEnd date of promotion in ISO8601 format. Example: 2024-04-27T23:59:59Z
promotionNameStringName of the promotion. In case you want to fetch data of a specific promotion.

Note: startDate and endDate must appear in pairs.

Response Parameters

ParameterData TypeDescription
statusObjectAn object containing the status code and message of the response.
codeIntegerThe status code indicating the result of the request.
messageStringA message providing additional information about the status.
validationErrorsObjectAn object containing validation errors, if any.
dataObjectAn object containing promotion data retrieved from the request.
idLongThe ID of the promotion.
nameStringThe name of the promotion.
descriptionStringThe description of the promotion.
promotionStatusStringThe status of the promotion. Values are COMPLETED, LIVE, UPCOMING, or INACTIVE
lastUpdateDateString (Date)The date and time when the promotion was last updated.
startRuleIdentifierStringIdentifier for the loyalty promotion ruleset. A ruleset defines the reward conditions for the loyalty promotion.
lastUpdatedByIntegerThe ID of the user who last updated the promotion.
programNameStringThe name of the program associated with the promotion.
promotionTypeStringIdentifies where the promotion is applied, if it's customer level promotion or transaction level promotion.
programIdLongThe ID of the program associated with the promotion.
startDateString (Date)The start date and time of the promotion.
endDateString (Date)The end date and time of the promotion.
identifierStringUniversally unique identifier of the promotion.
isActiveBooleanIndicates if the promotion is currently active.
eventNameStringThe name of the event associated with the promotion.
pointsOfferTypeStringThe type of promotion. The types of promotion are GENERIC, LOYALTY, and LOYALTY_EARNING.
  • promotionRestrictions
ObjectRestrictions and settings for the promotion. Issual restrictions - Provides info on the restrictions on the enrolment of the customers. earnRestrictions provides information on the restrictions on the promotion issual. expiryRestrictions provide info on the enrol and issue expiry. Redemption restrictions provides information on the maximum redemptions of points per issue of promotion
-- redemptionRestrictionsObjectContains information on the redemption limits for a promotion.
--- nameEnumType of redemption restriction. Possible values: MAX_ALLOWED_POINTS_PER_EVENT: The maximum points that can be earned for a single activity (make a transaction, redeem points etc.) done by a customer. MAX_ALLOWED_TIMES_PER_CUSTOMER: The maximum number of activities (make a transaction, redeem points etc.) a customer can do to earn points. MAX_ALLOWED_POINTS_PER_CUSTOMER:The maximum number of points a customer can earn from a promotion. MAX_ALLOWED_TIMES_PER_PROMOTION: The maximum number of activities (make a transaction, redeem points etc.) allowed across all customers in the brand for the promotion. MAX_ALLOWED_POINTS_PER_PROMOTION:The maximum number of points available across all customers in the brand for the promotion. MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER:The maximum number of times a customer can redeem a promotion after earning
--- valueIntegerNumber of units corresponding to the name. Specify -1 for no limit (max limit: 100).
--- typeEnumType of period for restriction. Possible values: PERIOD_BASED, NON_PERIOD_BASED.
--- periodTypeEnumType of period. Supported value: MOVING_WINDOW.
--- periodUnitEnumFrequency of the period. Possible values: DAILY, WEEKLY, MONTHLY.
-- issualRestrictionsObjectContains information on the issual limits for a promotion.
--- nameEnumType of issual restriction. Possible values: MAX_NUMBER_OF_ISSUALS_PER_CUSTOMER: Maximum number of times a promotion can be issued to a customer.
--- valueIntegerNumber of units corresponding to the name. Specify -1 for no limit (max limit: 100).
-- earnRestrictionsObjectContains information on the earn limits for a promotion (specific to enrol-and-issue promotions).
--- nameEnumType of earn restriction. Possible values: MAX_NUMBER_OF_EARNS_PER_CUSTOMER: The maximum number of times a loyalty promotion can be issued to a customer. MAX_NUMBER_OF_EARNS_PER_PROMOTION: The maximum number of times a loyalty promotion can be issued across customers. MAX_POINTS_PER_EARN_PER_CUSTOMER: The maximum number of points a customer can earn in a single event from a promotion.
--- valueIntegerNumber of units corresponding to the name. Specify -1 for no limit (max limit: 100).
-- expiryRestrictionsObjectContains information on the expiry for a promotion (mandatory for all promotion types).
--- nameEnumAction that is expiring. Possible values: ISSUAL_PROMOTION_EXPIRY_BASED_ON: The time period within which the customer must complete the activity required to issue the loyalty promotion. Once this lapses, the customer cannot earn the loyalty promotion. EARN_PROMOTION_EXPIRY_BASED_ON: The time period within which the customer must complete the activity required to receive the loyalty promotion benefits. Once this lapses, the customer cannot earn the benefits.
--- typeEnumType of expiration. Possible values: PROMOTION, CUSTOM.
--- valueIntegerNumber of days the loyalty promotion expires from the date of issual.
isAlwaysApplyBooleanIndicates whether the promotion is always applied.
isStackableBooleanIndicates whether the promotion is stackable.
isConsideredForRankingBooleanIndicates whether the promotion is considered for ranking.
loyaltyEarningTypeStringThis parameter is not in use.
expiryReminderStringThe expiry reminder settings for the promotion.
isExclusiveBooleanIndicates whether the promotion is exclusive.
scopeStringThe scope of the promotion.
cappingStatusBooleanIndicates if the loyalty promotion has restrictions on reward currencies. The value will be true or false only if the loyalty promotion has a fixed-window calendar. true: Capping is enabled for the loyalty promotion. false: Capping is disabled for the loyalty promotion. null: Loyalty promotion does not have a fixed-window calendar.
pageDetailsObjectAn object containing details about the pagination of the response.
pageNumberIntegerThe current page number.
pageSizeIntegerThe number of entries per page.
totalEntriesIntegerThe total number of entries.
pageCountIntegerThe total number of pages in the response.

{
    "status": {
        "code": 200,
        "message": "success"
    },
    "validationErrors": null,
    "data": [
        {
            "id": 106985,
            "name": "Premium Partner Program - Transaction Benefits",
            "description": "Ongoing benefits for partner program members",
            "promotionStatus": "INACTIVE",
            "lastUpdateDate": "2025-09-23T03:51:19Z",
            "startRuleIdentifier": "ruleset_f8101376-26e9-4c24-aab8-d8ef454de4c8",
            "lastUpdatedBy": 75184878,
            "programName": "DocDemoDefaultProgram",
            "promotionType": "BILL",
            "programId": 973,
            "startDate": "2024-12-31T18:30Z",
            "endDate": "2025-12-31T18:29:59Z",
            "identifier": "21e881f3-4b58-4f3c-b491-0dcd49b57d55",
            "isActive": false,
            "eventName": "TRANSACTIONADD",
            "pointsOfferType": "GENERIC",
            "promotionRestrictions": {
                "restrictions": {
                    "redemptionRestrictions": [
                        {
                            "name": "MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER",
                            "value": 100,
                            "type": "NON_PERIOD_BASED",
                            "periodType": null,
                            "periodUnit": null
                        }
                    ],
                    "issualRestrictions": [],
                    "earnRestrictions": [],
                    "expiryRestrictions": []
                },
                "scope": null,
                "loyaltyEarningType": null,
                "expiryReminder": null,
                "targetGroupIds": null,
                "targetRuleIds": null,
                "linkedTargetGroupVsTargetRuleIdMap": null,
                "cappingStatus": null,
                "skipEarnedDateCheckOnRedeem": false,
                "isStackable": false,
                "isConsideredForRanking": false,
                "isExclusive": true,
                "isAlwaysApply": false
            }
        },
        {
            "id": 106984,
            "name": "Premium Partner Program - Enrollment Benefits",
            "description": "Welcome benefits for new partner program members",
            "promotionStatus": "INACTIVE",
            "lastUpdateDate": "2025-09-23T03:51:18Z",
            "startRuleIdentifier": "ruleset_c87a9a69-31b9-4666-8b43-8d018d91be9f",
            "lastUpdatedBy": 75184878,
            "programName": "DocDemoDefaultProgram",
            "promotionType": "CUSTOMER",
            "programId": 973,
            "startDate": "2024-12-31T18:30Z",
            "endDate": "2025-12-31T18:29:59Z",
            "identifier": "22a60c9d-9d96-4039-85f2-d80aae837a9e",
            "isActive": false,
            "eventName": "CUSTOMERREGISTRATION",
            "pointsOfferType": "LOYALTY_EARNING",
            "promotionRestrictions": {
                "restrictions": {
                    "redemptionRestrictions": [
                        {
                            "name": "MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER",
                            "value": 100,
                            "type": "NON_PERIOD_BASED",
                            "periodType": null,
                            "periodUnit": null
                        }
                    ],
                    "issualRestrictions": [
                        {
                            "name": "MAX_NUMBER_OF_ISSUALS_PER_CUSTOMER",
                            "value": 1
                        }
                    ],
                    "earnRestrictions": [
                        {
                            "name": "MAX_NUMBER_OF_EARNS_PER_CUSTOMER",
                            "value": 1
                        },
                        {
                            "name": "MAX_POINTS_PER_EARN_PER_CUSTOMER",
                            "value": -1
                        }
                    ],
                    "expiryRestrictions": [
                        {
                            "name": "EARN_PROMOTION_EXPIRY_BASED_ON",
                            "value": 365,
                            "type": "CUSTOM"
                        },
                        {
                            "name": "ISSUAL_PROMOTION_EXPIRY_BASED_ON",
                            "value": 365,
                            "type": "CUSTOM"
                        }
                    ]
                },
                "scope": null,
                "loyaltyEarningType": "ISSUE_AND_EARN",
                "expiryReminder": null,
                "targetGroupIds": null,
                "targetRuleIds": null,
                "linkedTargetGroupVsTargetRuleIdMap": null,
                "cappingStatus": null,
                "skipEarnedDateCheckOnRedeem": false,
                "isStackable": false,
                "isConsideredForRanking": false,
                "isExclusive": true,
                "isAlwaysApply": false
            }
        },
        {
            "id": 106442,
            "name": "Customer_566135941_Event_Trigger",
            "description": "Special event trigger for customer 566135941 - simulating event type 12",
            "promotionStatus": "INACTIVE",
            "lastUpdateDate": "2025-09-18T05:36:50Z",
            "startRuleIdentifier": "ruleset_3d77dcfe-9af9-4530-aefa-1b7be9717160",
            "lastUpdatedBy": 75184878,
            "programName": "DocDemoDefaultProgram",
            "promotionType": "BILL",
            "programId": 973,
            "startDate": "2024-12-31T18:30Z",
            "endDate": "2025-12-31T18:29:59Z",
            "identifier": "32ac1cdb-b11d-4d81-9c5a-f35b6824f0a7",
            "isActive": false,
            "eventName": "TRANSACTIONADD",
            "pointsOfferType": "GENERIC",
            "promotionRestrictions": {
                "restrictions": {
                    "redemptionRestrictions": [
                        {
                            "name": "MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER",
                            "value": 100,
                            "type": "NON_PERIOD_BASED",
                            "periodType": null,
                            "periodUnit": null
                        }
                    ],
                    "issualRestrictions": [],
                    "earnRestrictions": [],
                    "expiryRestrictions": []
                },
                "scope": null,
                "loyaltyEarningType": null,
                "expiryReminder": null,
                "targetGroupIds": null,
                "targetRuleIds": null,
                "linkedTargetGroupVsTargetRuleIdMap": null,
                "cappingStatus": null,
                "skipEarnedDateCheckOnRedeem": false,
                "isStackable": false,
                "isConsideredForRanking": false,
                "isExclusive": true,
                "isAlwaysApply": false
            }
        },
        {
            "id": 105593,
            "name": "100 Points for $500+ Purchase",
            "description": "Earn 100 bonus points when you spend more than $500 in a single transaction",
            "promotionStatus": "INACTIVE",
            "lastUpdateDate": "2025-09-10T17:40:07Z",
            "startRuleIdentifier": "ruleset_4b1441ac-41d2-4c1e-8e74-a90829c0fdb4",
            "lastUpdatedBy": 75184878,
            "programName": "DocDemoDefaultProgram",
            "promotionType": "BILL",
            "programId": 973,
            "startDate": "2024-12-31T18:30Z",
            "endDate": "2025-12-31T18:29:59Z",
            "identifier": "cdee661c-4e57-4736-963d-cd21760707a1",
            "isActive": false,
            "eventName": "TRANSACTIONADD",
            "pointsOfferType": "GENERIC",
            "promotionRestrictions": {
                "restrictions": {
                    "redemptionRestrictions": [
                        {
                            "name": "MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER",
                            "value": 100,
                            "type": "NON_PERIOD_BASED",
                            "periodType": null,
                            "periodUnit": null
                        }
                    ],
                    "issualRestrictions": [],
                    "earnRestrictions": [],
                    "expiryRestrictions": []
                },
                "scope": null,
                "loyaltyEarningType": null,
                "expiryReminder": null,
                "targetGroupIds": null,
                "targetRuleIds": null,
                "linkedTargetGroupVsTargetRuleIdMap": null,
                "cappingStatus": null,
                "skipEarnedDateCheckOnRedeem": false,
                "isStackable": false,
                "isConsideredForRanking": false,
                "isExclusive": true,
                "isAlwaysApply": false
            }
        },
        {
            "id": 104203,
            "name": "AllRewardsDirect",
            "description": "",
            "promotionStatus": "COMPLETED",
            "lastUpdateDate": "2025-08-29T10:42:24Z",
            "startRuleIdentifier": "ruleset_20250829103332",
            "lastUpdatedBy": 75139931,
            "programName": "DocDemoDefaultProgram",
            "promotionType": "BILL",
            "programId": 973,
            "startDate": "2025-08-01T00:00Z",
            "endDate": "2025-08-31T23:59:59Z",
            "identifier": "d28dfcb6-9386-42e3-84f1-2eb681d8f49a",
            "isActive": true,
            "eventName": "TRANSACTIONADD",
            "pointsOfferType": "LOYALTY",
            "promotionRestrictions": {
                "restrictions": {
                    "redemptionRestrictions": [
                        {
                            "name": "MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER",
                            "value": 1,
                            "type": "NON_PERIOD_BASED",
                            "periodType": null,
                            "periodUnit": null
                        }
                    ],
                    "issualRestrictions": [
                        {
                            "name": "MAX_NUMBER_OF_ISSUALS_PER_CUSTOMER",
                            "value": 100
                        }
                    ],
                    "earnRestrictions": [
                        {
                            "name": "MAX_NUMBER_OF_EARNS_PER_CUSTOMER",
                            "value": 1
                        },
                        {
                            "name": "MAX_POINTS_PER_EARN_PER_CUSTOMER",
                            "value": -1
                        }
                    ],
                    "expiryRestrictions": [
                        {
                            "name": "EARN_PROMOTION_EXPIRY_BASED_ON",
                            "value": 0,
                            "type": "PROMOTION"
                        }
                    ]
                },
                "scope": null,
                "loyaltyEarningType": null,
                "expiryReminder": null,
                "targetGroupIds": null,
                "targetRuleIds": null,
                "linkedTargetGroupVsTargetRuleIdMap": null,
                "cappingStatus": null,
                "skipEarnedDateCheckOnRedeem": false,
                "isStackable": false,
                "isConsideredForRanking": false,
                "isExclusive": false,
                "isAlwaysApply": false
            }
        },
        {
            "id": 104202,
            "name": "AllRewards",
            "description": "",
            "promotionStatus": "LIVE",
            "lastUpdateDate": "2025-08-29T10:47:07Z",
            "startRuleIdentifier": "ruleset_20250829102418",
            "lastUpdatedBy": 75139931,
            "programName": "DocDemoDefaultProgram",
            "promotionType": "BILL",
            "programId": 973,
            "startDate": "2025-08-01T00:00Z",
            "endDate": "2025-12-31T23:59:59Z",
            "identifier": "f2402ce8-538a-4936-8af6-5fd86ca0bf19",
            "isActive": true,
            "eventName": "TRANSACTIONADD",
            "pointsOfferType": "GENERIC",
            "promotionRestrictions": {
                "restrictions": {
                    "redemptionRestrictions": [
                        {
                            "name": "MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER",
                            "value": 100,
                            "type": "NON_PERIOD_BASED",
                            "periodType": null,
                            "periodUnit": null
                        }
                    ],
                    "issualRestrictions": [],
                    "earnRestrictions": [],
                    "expiryRestrictions": []
                },
                "scope": null,
                "loyaltyEarningType": null,
                "expiryReminder": null,
                "targetGroupIds": null,
                "targetRuleIds": null,
                "linkedTargetGroupVsTargetRuleIdMap": null,
                "cappingStatus": null,
                "skipEarnedDateCheckOnRedeem": false,
                "isStackable": false,
                "isConsideredForRanking": false,
                "isExclusive": true,
                "isAlwaysApply": false
            }
        },
        {
            "id": 103848,
            "name": "test_promo11",
            "description": "test",
            "promotionStatus": "LIVE",
            "lastUpdateDate": "2025-08-26T06:51:03Z",
            "startRuleIdentifier": "ruleset_20250826065058",
            "lastUpdatedBy": 75164387,
            "programName": "DocDemoDefaultProgram",
            "promotionType": "CUSTOMER",
            "programId": 973,
            "startDate": "2025-08-26T00:00Z",
            "endDate": "2025-09-29T23:59:59Z",
            "identifier": "b3e52fd7-ca6d-4f07-b0da-c3fac9caa950",
            "isActive": true,
            "eventName": "TARGETCOMPLETED",
            "pointsOfferType": "GENERIC",
            "promotionRestrictions": {
                "restrictions": {
                    "redemptionRestrictions": [
                        {
                            "name": "MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER",
                            "value": 100,
                            "type": "NON_PERIOD_BASED",
                            "periodType": null,
                            "periodUnit": null
                        }
                    ],
                    "issualRestrictions": [],
                    "earnRestrictions": [],
                    "expiryRestrictions": []
                },
                "scope": null,
                "loyaltyEarningType": null,
                "expiryReminder": null,
                "targetGroupIds": null,
                "targetRuleIds": null,
                "linkedTargetGroupVsTargetRuleIdMap": null,
                "cappingStatus": null,
                "skipEarnedDateCheckOnRedeem": false,
                "isStackable": false,
                "isConsideredForRanking": false,
                "isExclusive": false,
                "isAlwaysApply": false
            }
        },
        {
            "id": 100508,
            "name": "doc_test27",
            "description": "wdcfwdecfwcfwdecf",
            "promotionStatus": "LIVE",
            "lastUpdateDate": "2025-07-27T08:28:33Z",
            "startRuleIdentifier": "ruleset_20250727082826",
            "lastUpdatedBy": 75160045,
            "programName": "DocTransferPoints",
            "promotionType": "CUSTOMER",
            "programId": 983,
            "startDate": "2025-07-31T00:00Z",
            "endDate": "2025-09-24T23:59:59Z",
            "identifier": "c320cd35-266e-4148-a29d-97b4ca542095",
            "isActive": true,
            "eventName": "POINTSREDEMPTION",
            "pointsOfferType": "LOYALTY",
            "promotionRestrictions": {
                "restrictions": {
                    "redemptionRestrictions": [
                        {
                            "name": "MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER",
                            "value": 1,
                            "type": "NON_PERIOD_BASED",
                            "periodType": null,
                            "periodUnit": null
                        }
                    ],
                    "issualRestrictions": [
                        {
                            "name": "MAX_NUMBER_OF_ISSUALS_PER_CUSTOMER",
                            "value": 100
                        }
                    ],
                    "earnRestrictions": [
                        {
                            "name": "MAX_NUMBER_OF_EARNS_PER_CUSTOMER",
                            "value": 1
                        },
                        {
                            "name": "MAX_POINTS_PER_EARN_PER_CUSTOMER",
                            "value": -1
                        }
                    ],
                    "expiryRestrictions": [
                        {
                            "name": "EARN_PROMOTION_EXPIRY_BASED_ON",
                            "value": 0,
                            "type": "PROMOTION"
                        }
                    ]
                },
                "scope": null,
                "loyaltyEarningType": null,
                "expiryReminder": null,
                "targetGroupIds": null,
                "targetRuleIds": null,
                "linkedTargetGroupVsTargetRuleIdMap": null,
                "cappingStatus": null,
                "skipEarnedDateCheckOnRedeem": false,
                "isStackable": false,
                "isConsideredForRanking": false,
                "isExclusive": false,
                "isAlwaysApply": false
            }
        },
        {
            "id": 99350,
            "name": "Test Direct promo",
            "description": "Test Direct promo",
            "promotionStatus": "COMPLETED",
            "lastUpdateDate": "2025-07-18T11:39:04Z",
            "startRuleIdentifier": "ruleset_20250717065119",
            "lastUpdatedBy": 75175714,
            "programName": "DocDemoDefaultProgram",
            "promotionType": "CUSTOMER",
            "programId": 973,
            "startDate": "2025-07-17T00:00Z",
            "endDate": "2025-07-18T23:59:59Z",
            "identifier": "0a523fbf-5a61-44e6-ba63-8d3d9cca36da",
            "isActive": true,
            "eventName": "GENERICEVENT",
            "eventSubTypeName": "TestEvent1",
            "pointsOfferType": "LOYALTY",
            "promotionRestrictions": {
                "restrictions": {
                    "redemptionRestrictions": [
                        {
                            "name": "MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER",
                            "value": 2,
                            "type": "NON_PERIOD_BASED",
                            "periodType": null,
                            "periodUnit": null
                        }
                    ],
                    "issualRestrictions": [
                        {
                            "name": "MAX_NUMBER_OF_ISSUALS_PER_CUSTOMER",
                            "value": 100
                        }
                    ],
                    "earnRestrictions": [
                        {
                            "name": "MAX_NUMBER_OF_EARNS_PER_CUSTOMER",
                            "value": 5
                        },
                        {
                            "name": "MAX_POINTS_PER_EARN_PER_CUSTOMER",
                            "value": -1
                        },
                        {
                            "name": "MAX_NUMBER_OF_EARN_PER_PROMOTION",
                            "value": 100
                        }
                    ],
                    "expiryRestrictions": [
                        {
                            "name": "EARN_PROMOTION_EXPIRY_BASED_ON",
                            "value": 0,
                            "type": "PROMOTION"
                        }
                    ]
                },
                "scope": null,
                "loyaltyEarningType": null,
                "expiryReminder": null,
                "targetGroupIds": null,
                "targetRuleIds": null,
                "linkedTargetGroupVsTargetRuleIdMap": null,
                "cappingStatus": null,
                "skipEarnedDateCheckOnRedeem": false,
                "isStackable": false,
                "isConsideredForRanking": false,
                "isExclusive": false,
                "isAlwaysApply": false
            }
        },
        {
            "id": 99269,
            "name": "Test promo",
            "description": "Test promo",
            "promotionStatus": "COMPLETED",
            "lastUpdateDate": "2025-07-18T11:40:57Z",
            "startRuleIdentifier": "ruleset_20250716130240",
            "lastUpdatedBy": 75175714,
            "programName": "DocDemoDefaultProgram",
            "promotionType": "BILL",
            "programId": 973,
            "startDate": "2025-07-16T00:00Z",
            "endDate": "2025-07-18T23:59:59Z",
            "identifier": "945d2c84-8d09-4a43-9f82-c88c7f4fe5ae",
            "isActive": true,
            "eventName": "TRANSACTIONADD",
            "pointsOfferType": "LOYALTY_EARNING",
            "promotionRestrictions": {
                "restrictions": {
                    "redemptionRestrictions": [
                        {
                            "name": "MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER",
                            "value": 2,
                            "type": "NON_PERIOD_BASED",
                            "periodType": null,
                            "periodUnit": null
                        }
                    ],
                    "issualRestrictions": [
                        {
                            "name": "MAX_NUMBER_OF_ISSUALS_PER_CUSTOMER",
                            "value": 10
                        }
                    ],
                    "earnRestrictions": [
                        {
                            "name": "MAX_NUMBER_OF_EARNS_PER_CUSTOMER",
                            "value": 5
                        },
                        {
                            "name": "MAX_POINTS_PER_EARN_PER_CUSTOMER",
                            "value": -1
                        },
                        {
                            "name": "MAX_NUMBER_OF_EARN_PER_PROMOTION",
                            "value": 100
                        }
                    ],
                    "expiryRestrictions": [
                        {
                            "name": "ISSUAL_PROMOTION_EXPIRY_BASED_ON",
                            "value": 0,
                            "type": "PROMOTION"
                        },
                        {
                            "name": "EARN_PROMOTION_EXPIRY_BASED_ON",
                            "value": 0,
                            "type": "PROMOTION"
                        }
                    ]
                },
                "scope": null,
                "loyaltyEarningType": "ISSUE_AND_EARN",
                "expiryReminder": null,
                "targetGroupIds": null,
                "targetRuleIds": null,
                "linkedTargetGroupVsTargetRuleIdMap": null,
                "cappingStatus": null,
                "skipEarnedDateCheckOnRedeem": false,
                "isStackable": false,
                "isConsideredForRanking": false,
                "isExclusive": true,
                "isAlwaysApply": false
            }
        }
    ],
    "pageDetails": {
        "pageNumber": 0,
        "pageSize": 10,
        "totalEntries": 21,
        "pageCount": 3
    }
}

API-specific error codes

Error codeDescription
4054offset or limit missing
4053startDate or endDate missing
4057startDate or endDate not in the correct format
2010Program ID is incorrect
4055Value of limit is greater than 100
4056offset and limit query parameters missing
4052status is invalid
4050Parameters passed are not supported
Query Params
int32
required
int32
required
int64
string
enum
Allowed:
string
enum
string
string
string
Response

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json