Skip to main content

Overview

The previous section of the documentation describes how to generate an order using the ​OpenTicket API. When finalizing an order, a unique barcode is issued for every ticket associated with that order. At events, this barcode is scanned to determine the validity of the ticket.

When reselling a ticket through TicketSwap, the ​OpenTicket system has to reissue the barcode for that ticket. Given that the original issued barcode is valid, the system issues a new barcode for the ticket and invalidates the original barcode. The system also augments the ticket with additional TicketSwap information.

When a ticket is swapped, some webhooks are triggered. The swap triggers the updated webhook for the old order, and the paid webhook for the new order.

This section of the documentation shows how to swap a ticket through the ​OpenTicket API.

note

The ticketswap endpoints are only accessible by employees with the correct permissions.