CommunityPerks
Search CommunityPerks
Search and list CommunityPerk records with filtering, sorting, and pagination.
GET
Search CommunityPerks
A CommunityPerk represents a perk, discount, or benefit that a location offers to its customers in partnership with other businesses. Perks can be discounts, free trials, or any other benefit negotiated with a partner business — for example, 50% off a car rental or a free hot drink at a nearby café. They are published on the Members Portal where customers can view and claim them. Use Active to control visibility — when false, the perk is only visible on the Admin Panel. Use ShowInHomePage to feature a perk on the Members Portal home page after users log in. Availability can be restricted via OnlyForContacts and OnlyForMembers. If neither flag is set, the perk is available to all customers. Use Tariffs to further restrict access to customers on specific pricing plans. Which perks are listed in a location is also controlled by the Access.Data.Perks BusinessSetting, whose value is an eDataVisibilityCriteria enum integer. This determines which locations’ perks are visible to customers at a given location — for example ThisLocationOnly (7) shows only perks belonging to the current location, while AllLocations (3) shows perks from all locations in the network.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the CommunityPerk-List role.Enums
eDataVisibilityCriteria
eDataVisibilityCriteria
Query Parameters
Pagination & Sorting
Filters
Filter by optional URL opened when a customer uses the Claim button; leave blank to omit the button.
Filter by short description shown under the perk title on the Perks listing page of the Members Portal.
Filter by full description of the perk, displayed when a customer clicks on it from the Perks listing page.
Filter by file name of the large image displayed under the perk title on the perk detail page.
Filter by whether this perk is published and visible to customers on the Members Portal. When false, the perk is only visible on the Admin Panel.
Filter by group or category this perk belongs to, used to organise perks on the Members Portal.
Filter by position of this perk in the list relative to other perks. Lower values appear first.
Filter by whether to exclude members and show this perk only to contacts, who have no active contract; do not set this and OnlyForMembers together.
Filter by whether to exclude contacts and show this perk only to members, who have an active contract; do not set this and OnlyForContacts together.
Range Filters
Filter by position of this perk in the list relative to other perks. Lower values appear first greater than or equal to this value.
Filter by position of this perk in the list relative to other perks. Lower values appear first less than or equal to this value.
Filter by number of times customers have clicked on this perk greater than or equal to this value.
Filter by number of times customers have clicked on this perk less than or equal to this value.
Code Examples
Simple listing
Filtering by Title
Range filters
Response
200
The list of CommunityPerk records matching the query. See the Get one CommunityPerk endpoint for the full list of properties returned for each record.
Example Response