Skip to main content
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

Query Parameters

Pagination & Sorting

integer
default:"1"
The page number to retrieve.
integer
default:"25"
The number of records per page.
string
The property name to sort results by (e.g. Name, CreatedOn).
integer
Sort direction. 0 for ascending, 1 for descending.

Filters

integer
Filter by iD of the location this perk belongs to.
string
Filter by name of the perk as displayed on the Members Portal and the Admin Panel.
string
Filter by uRL where customers are redirected when clicking the Claim button. If blank, no Claim button is shown. Must start with https://.
string
Filter by short description shown under the perk title on the Perks listing page of the Members Portal.
string
Filter by full description of the perk, displayed when a customer clicks on it from the Perks listing page.
string
Filter by file name of the small image shown on the Perks listing page alongside other perks.
string
Filter by uRL of a new small image to upload for this perk.
boolean
Filter by set to true to remove the current small image from this perk.
string
Filter by file name of the large image displayed under the perk title on the perk detail page.
string
Filter by uRL of a new large image to upload for this perk.
boolean
Filter by set to true to remove the current large image from this perk.
boolean
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.
string
Filter by group or category this perk belongs to, used to organise perks on the Members Portal.
integer
Filter by position of this perk in the list relative to other perks. Lower values appear first.
boolean
Filter by whether to feature this perk on the Members Portal home page after users log in.
integer
Filter by number of times customers have clicked on this perk.
boolean
Filter by whether this perk is only available to contacts. Set both OnlyForContacts and OnlyForMembers to false to make the perk available to all customers.
boolean
Filter by whether this perk is only available to members. Set both OnlyForContacts and OnlyForMembers to false to make the perk available to all customers.

Range Filters

integer
Filter by position of this perk in the list relative to other perks. Lower values appear first greater than or equal to this value.
integer
Filter by position of this perk in the list relative to other perks. Lower values appear first less than or equal to this value.
integer
Filter by number of times customers have clicked on this perk greater than or equal to this value.
integer
Filter by number of times customers have clicked on this perk less than or equal to this value.
string
Filter records created on or after this date. Format: YYYY-MM-DDTHH:mm.
string
Filter records created on or before this date. Format: YYYY-MM-DDTHH:mm.
string
Filter records updated on or after this date. Format: YYYY-MM-DDTHH:mm.
string
Filter records updated on or before this date. Format: YYYY-MM-DDTHH:mm.

Code Examples

Simple listing

Filtering by Title

Range filters

Response

200

CommunityPerk[]
The list of CommunityPerk records matching the query. See the Get one CommunityPerk endpoint for the full list of properties returned for each record.
Partial records — The listing endpoint returns a summary representation of each CommunityPerk. The following fields are not populated in the Records[] response: FullText, Active, ShowInHomePage, ClickCount, OnlyForContacts, OnlyForMembers.To get all fields, fetch the full record using the Get one CommunityPerk endpoint.Important for updates: When updating a record via PUT, always retrieve the full record with a GET request first, apply your changes to that complete data, and then send the updated record. Do not use data from a listing response as the base for a PUT request, as missing fields may be unintentionally cleared.
integer
Current page number.
integer
Number of records per page.
string
The field used for sorting.
integer
The sort direction (0 = ascending, 1 = descending).
integer
Index of the first item on the current page.
integer
Index of the last item on the current page.
integer
Total number of matching records across all pages.
integer
Total number of pages.
boolean
Whether there is a next page of results.
boolean
Whether there is a previous page of results.
Example Response