Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
"camp_rRsfatlwN7unSeUIJDCYedal"
Query Parameters
Timestamp representing the date which results must begin on. Represented in ISO 8601 format.
"2023-12-22T10:13:06.487Z"
Timestamp representing the date which results must end on. Represented in ISO 8601 format.
"2023-12-22T10:13:06.487Z"
Response
Returns campaign analytics data. Returns different data depending on the campaign type.
- Campaigns Summary - Discount Campaign details
- Campaigns Summary - Promotion Campaign details
- Campaigns Summary - Gift Campaign details
- Campaigns Summary - Loyalty Campaign details
- Campaigns Summary - Referral Campaign details
Response body schema for GET /v1/campaigns/{campaignId}/summary
.
Campaign summary data for discount campaigns.
Contains the basic information about any type of campaign.
The type of the object, which is campaign_summary
.
campaign_summary
This is an object representing a campaign.
Total number of redemptions, which includes successful and failed redemptions.
Total number of successful redemptions.
Total number of failed redemptions.
Total number of rollbacks, which includes successful and failed rollbacks.
Total number of successful rollbacks.
Total number of failed rollbacks.
Total number of validations, which includes successful and failed validations.
Total number of successful validations.
Total number of failed validations.
Total amount of orders related to the campaign. This amount is not reduced by orders_rolledback_amount
. The value is multiplied by 100
to precisely represent 2 decimal places. For example, $10
is represented as 1000
.
Total amount of orders that were rolled back and are related to the campaign. The value is multiplied by 100
to precisely represent 2 decimal places. For example, $10
is represented as 1000
.
Total number of vouchers created within the campaign. Includes vouchers generated when the campaign was created, vouchers added manually, or vouchers generated automatically when a new customer joined the campaign.
Total number of vouchers deleted within the campaign. Includes vouchers moved to the bin and vouchers deleted permanently. Vouchers moved to the bin and then deleted permanently are counted once.
Total number of publications, which includes successful and failed publications.
Total number of successful publications.
Total number of failed publications.
Total amount of discounts related to the campaign. This amount is not reduced by the rolledback_discounted_amount
. The value is multiplied by 100
to precisely represent 2 decimal places. For example, $10
is represented as 1000
.
Total amount of discounts orders that were rolled back and are related to the campaign. The value is multiplied by 100
to precisely represent 2 decimal places. For example, $10
is represented as 1000
.