Search.../

checkInTickets( )

Developer Preview

Checks in 1 or more tickets.

Syntax

function checkInTickets(eventId: string, options: CheckInTicketsOptions): Promise<CheckInTicketResponse>

checkInTickets Parameters

NAME
TYPE
DESCRIPTION
eventId
string

Event ID.

options
Optional
CheckInTicketsOptions

Returns

Return Type:

Promise<
CheckInTicketResponse
>
NAME
TYPE
DESCRIPTION
tickets
Array<
TicketingTicket
>

Updated tickets.

Was this helpful?

CheckInTickets example

Copy Code
1import { tickets } from 'wix-events.v2';
2
3 async function checkInTickets(eventId, options) {
4 try {
5 const result = await tickets.checkInTickets(eventId, options);
6
7 return result;
8 } catch (error) {
9 console.error(error);
10 // Handle the error
11 }
12 }
13