UpdateTickets
Individual tickets can be updated. Per call you can specify any number of ticket IDs and one operation.
Each operation accepts different parameters, dependent on the operation type:
- Set ticket holders: an array of ticket holder IDs (see Contact), one for each ticket (
ticketholderids
). - Update price type: an array of ticket price type IDs (as can be found in the Event pricing), one for each ticket (
tickettypepriceids
) - Add to bundles: an array of bundle IDs, one for each ticket
- Remove from bundles: none.
Fields
Field | Description |
---|---|
operation
string
(required) |
Operation to execute. Supported values:
"setticketholders" |
params
map<string, mixed>
(required) |
Operation parameters Example value:{ "ticketholderids": [ 123.000000, 863.000000 ] } |
tickets
int[]
(required) |
Ticket IDs Example value:[ 1, 2 ] |
Example
1{
2 "operation": "setticketholders",
3 "params": {
4 "ticketholderids": [ 123.000000, 863.000000 ]
5 },
6 "tickets": [ 1, 2 ]
7}