🎟️

tickets

❗
IMPORTANT NOTE: These documents are automatically generated - you shouldn't need to edit these. This is for reference only or if you want to manually create a document. If you do make one manually you MUST complete all the required fields when you first create the document or the cloud function that runs afterwards will FAIL!

tickets document structure

NameRequiredData typeExplanationNotes
eventId
StringID of the event this ticket is for.
userId
StringID of the user you want to assign this ticket to.
ticketTypeId
StringID of the ticket type of this ticket.
sessionId
StringSession ID generated by stripe - you don't need to touch this.Can be left null if you are manually creating this ticket.
formData
MapThis is where the data is stored for the form you fill out for signing up for a ticket through the event landing page. This may be required for some events for all of the features within the app to work correctly. You should use an automatically generated ticket as an example to fill this out manually.

Examples