Updates the archived
state of multiple tickets.
You can only call this method when authenticated as a Wix app or Wix user identity.
Event ID.
Unique ticket numbers.
Whether tickets are archived.
Updated tickets.
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
{}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.