Search...
deleteTicketCheckIns( )
Deletes check-ins for 1 or more tickets.
Admin Method
This function requires elevated permissions to run. This function is not universal and runs only on the backend.
Syntax
function deleteTicketCheckIns(eventId: string, options: DeleteTicketCheckInsOptions): Promise<DeleteTicketCheckInResponse>
deleteTicketCheckIns Parameters
NAME
TYPE
DESCRIPTION
eventId
string
Event ID to which the ticket belongs.
options
Optional
DeleteTicketCheckInsOptions
Options for tickets to delete.
Returns
Return Type:
Promise<
DeleteTicketCheckInResponse
>NAME
TYPE
DESCRIPTION
tickets
Array<
TicketingTicket
>Updated tickets.
Was this helpful?
deleteTicketCheckIns example
Copy Code
1import { tickets } from 'wix-events.v2';23 async function deleteTicketCheckIns(eventId, options) {4 try {5 const result = await tickets.deleteTicketCheckIns(eventId, options);67 return result;8 } catch (error) {9 console.error(error);10 // Handle the error11 }12 }13