Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
1 <= x <= 100
Which page of results to return. The lowest value is 1
.
1 <= x <= 100
Includes an expanded categories
object in the response. If the Areas and Stores Enterprise feature is enabled, add access_settings_assignments
to return assigned areas and stores.
category
, access_settings_assignments
Sorts the results using one of the filtering options, where the dash -
preceding a sorting option means sorting in a descending order.
created_at
, -created_at
, updated_at
, -updated_at
Response
Returns a dictionary with loyalty program objects. The loyalty campaigns are returned sorted by creation date, with the most recent campaigns appearing first.
Response body schema for Get /loyalties
.
The type of the object represented by JSON. This object stores information about loyalty campaigns in a dictionary.
Identifies the name of the attribute that contains the array of loyalty campaign objects.
campaigns
Contains an array of loyalty campaign objects.
Total number of loyalty campaign objects.