Blog Image
MakeIntegromatEventsPretix

22.04.2024

Using the Pretix API via 1001fx

1001fx allows you easy access and usability of the Pretix API

Today we announce new functions for you to use. You can use the Pretix API in our new functions

events/pretixresendticket

events/pretixupdateticket

You can resend a ticket to a user or update the ticket with new data.

General

The following data is needed in both functions:

  1. apiToken: To access the API you first need an API token. More information on where to create it can be found here.
  2. organizer: The slug of your organization. Can be found in your Pretix Dashboard URL.
  3. event: The slug of you event. Can also be found in the Dashboard URL.

Resending a ticket

When resending the ticket, the additional field code needs to be specified. The code is the "Order code", which is visible to the user.

pretix-resendticket-make.png

Updating a ticket

Updating a ticket needs id field instead of code.

Additionally, you need to add the data, that should be changed in the tcket. The following fields can be edited:

  • attendee_email
  • attendee_name
  • company
  • street
  • zipcode
  • city
  • country
  • state

pretix-update-ticket-make.png