Changes ticket definitions order in an event dashboard and the list of available tickets in the ticket picker.
Note: It is possible to use both beforeTicketDefinitionId
and afterTicketDefinitionId
at the same time but only the last one defined will be executed.
You can only call this method when authenticated as a Wix app or Wix user identity.
Event ID.
Ticket definition ID.
Move the given definitionId
before the referenced ticket definition.
Move the given definitionId
after the referenced ticket definition.
curl -X POST 'https://www.wixapis.com/events-ticket-definitions/events-ticket-definitions/v3/ticket-definitions/reorder' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH TOKEN>' \
-d '{
"eventId": "9d720f99-1b5a-4141-9877-d32985391e18",
"ticketDefinitionId": "625115fd-31cb-4f64-b7bd-06c3137486c0",
"beforeTicketDefinitionId": "7ffbabb4-708c-449b-a956-78d153cd1faa"
}'
{}
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.