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 <= 100Which page of results to return. The lowest value is 1.
1 <= x <= 100This attribute allows filtering by campaign type.
PROMOTION, GIFT_VOUCHERS, REFERRAL_PROGRAM, DISCOUNT_COUPONS, LOYALTY_PROGRAM 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 by the status of the campaign.
DONE, IN_PROGRESS, FAILED, DRAFT, MODIFYING Sorts the results that are or are not referral campaigns.
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 Filters the results by various campaign properties.
Filter by areas and stores IDs to return campaigns that are assigned to areas, stores, and all stores in an area.
Response
Returns a dictionary with a campaign property that contains an array of campaigns. The maximum number of campaigns returned is determined by the limit query parameter. Each entry in the array is a separate campaign object. If no more campaigns are available, the resulting array on a given page will be empty.
Schema model for GET v1/campaigns.
The type of the object represented by JSON. This object stores information about campaigns in a dictionary.
Identifies the name of the attribute that contains the array of campaign objects.
Contains array of campaign objects.
Total number of campaigns.

