PATCH

Update Ticket Definition


Updates a ticket definition.

Each time the ticket definition is updated, revision increments by 1. The existing revision must be included when updating the ticket definition. This ensures you're working with the latest ticket definition and prevents unintended overwrites.

Authentication

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

Permissions
Manage Events - all permissions
Manage Ticket Definitions
Manage Events
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/events-ticket-definitions/v3/ticket-definitions/{ticketDefinition.id}

Path Params
ticketDefinition.idstringRequired

Ticket definition ID.

Body Params
ticketDefinitionTicketDefinitionRequired

Ticket definition to update.


fieldsArray <string>maxItems 5

Predefined sets of fields to return.

Response Object
ticketDefinitionTicketDefinition

The updated ticket definition.

Update ticket definition
Request
cURL
Response
JSON
Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?