PATCH

Bulk Update Tickets


Updates the archived state of multiple tickets.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Events - all permissions
Manage Guest List
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/events/v1/events/{eventId}/tickets

Path Params
eventIdstringRequired

Event ID.

Body Params
ticketNumberArray <string>minLength 1maxLength 36minItems 1maxItems 100

Unique ticket numbers.


archivedboolean

Whether tickets are archived.

Response Object
ticketsArray <Ticket>

Updated tickets.

Bulk Update Tickets Example 1
Request
cURL
curl -X PATCH 'https://www.wixapis.com/events/v1/events/ad18d12e-a6a9-4c17-abfa-6ff119479be2/tickets' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH TOKEN>' \ -d @- << EOF { "ticketNumber": [ "FNVL-NIJT-WP021", "FNVL-O7MZ-0Q021" ], "archived": true, "fields": { "paths": [ "archived" ] } } EOF
Response
JSON
{}
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?