updateTicketDefinition( )


Deprecated. This function will continue to work until November 8, 2024, but a newer version is available. Use the updateTicketDefinition() function instead.

Migration Instructions. If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to updateTicketDefinition(). To migrate to the new function:

  1. Add the new import statement:
Copy
1
  1. Look for any code that uses ticketDefinitions.updateTicketDefinition(), and replace it with ticketDefinitionsV2.updateTicketDefinition(). Update your code to work with the new updateTicketDefinition() response properties.
  2. Test your changes to make sure your code behaves as expected.

Updates a ticket definition.

See Partial Updates for more information.

Admin Method

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Events - all permissions
Manage Ticket Definitions
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
definitionIdstringRequired

Ticket definition ID.


eventIdstringRequired

Event ID.


optionsUpdateTicketDefinitionOptions

Ticket definition details to update.

Returns
Return Type:Promise<UpdateTicketDefinitionResponse>
Was this helpful?
Yes
No