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"
Body
Specify the parameters for the transaction export.
Request body schema for POST v1/loyalties/{campaignId}/transactions/export
.
List of available parameters containing fields and filters that can be exported for transactions in a loyalty card campaign, along with the sorting order of the returned data.
Response
An object representing an export.
Response body schema for POST v1/campaigns/{campaignId}/transactions/export
.
This is an object representing an export.
Unique export ID.
"exp_FFfp9o7daWuJqJCKp5xqqli4"
The type of object being represented. This object stores information about the export
.
export
Timestamp representing the date and time when the export was scheduled in ISO 8601 format.
"2022-04-28T11:23:20.922Z"
Status of the export. Informs you whether the export has already been completed, i.e. indicates whether the file containing the exported data has been generated.
SCHEDULED
The channel through which the export was triggered.
API
The type of exported object.
voucher_transactions
Contains the URL of the CSV file.
Identifies the specific user who initiated the export through the Voucherify Dashboard; returned when the channel
value is WEBSITE
.
"user_g24UoRO3Caxu7FCT4n5tpYEa3zUG0FrH"