Tickets / Set Properties
Long Description
Add a PDF eticket and/or barcode to an individual ticket/seat.
To remove an existing eticket file simply send an empty value {"eticket":""}
. Removing an eticket file will also remove the barcode as well. PUTting a new eticket file will overwrite an existing one as well as remove/overwrite the existing barcode.
To remove an existing barcode simply send an empty value {"barcode":""}
.
You cannot add multiple etickets or barcodes in a single API call, you must make a separate PUT for every seat.
Parameters
Name | Description | Type | Presence | Location | Other |
---|---|---|---|---|---|
ticket_id | The id of the individual ticket. It is the id for each item in the ticket_list available via Ticket Groups / Show - Removed with ticket_list=true set. | Integer | Required | URI | |
eticket | Base-64 encoded single page PDF | String | Optional | Body | Only one page per file allowed |
barcode | The ticket’s barcode | String | Optional | Body | 30 Characters max |
Examples
Request | Response |
---|---|
PUT /v9/tickets/123456 | |
{ "eticket": "<base-64 encoded single-page PDF>", "barcode": "4567-8731-5497-4859" } | { "barcode": "4567-8731-5497-4859", "eticket": { "eticket_pack_id": 457325456, "thumbnail": "https://s3.amazonaws.com/etickets.sandbox.ticketevolution.com/65478.png", "id": 65478 }, "id": 123456, "seat": 3 } |
Remove an existing PDF (and barcode) {"eticket":""} | { "barcode": "", "eticket": null, "id": 123456, "seat": 3 } |
Remove an existing barcode {"barcode":""} | { "barcode": null, "eticket": { "eticket_pack_id": 457325456, "thumbnail": "https://s3.amazonaws.com/etickets.sandbox.ticketevolution.com/65478.png", "id": 65478 }, "id": 123456, "seat": 3 } |