Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Unique campaign ID or name.
"camp_rRsfatlwN7unSeUIJDCYedal"
Body
Specify the data filters, types of data to return and order in which the results should be returned.
Request schema model for validating a voucher using POST /v1/loyalties/{campaignId}/points-expiration/export
List of fields and filters that will be used to create the export.
Response
Returns an object with the export ID of the scheduled generation of CSV file with exported points expirations. You can use either the <!-- [Get Export](OpenAPI.json/paths/~1exports~1{exportId}/get) -->Get Export endpoint to view the status and obtain the URL of the CSV file or <!-- [Download Export](OpenAPI.json/paths/~1exports~1{export_Id}/get) -->Download Export endpoint to download the CSV file.
Object representing an export of points expirations.
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.
SCHEDULED
The channel through which the export was triggered.
API
, WEBSITE
The type of exported object.
points_expiration
List of fields and filters that were passed in the request body to create the export.
Always null.
user_id
identifies the specific user who initiated the export through the Voucherify Dashboard. user_id
is returned when the channel value is WEBSITE
.
"user_g24UoRO3Caxu7FCT4n5tpYEa3zUG0Fr"