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
| Name | Required | Data type | Explanation | Notes |
|---|---|---|---|---|
| eventId | String | ID of the event this ticket is for. | ||
| userId | String | ID of the user you want to assign this ticket to. | ||
| ticketTypeId | String | ID of the ticket type of this ticket. | ||
| sessionId | String | Session ID generated by stripe - you don't need to touch this. | Can be left null if you are manually creating this ticket. | |
| formData | Map | This 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
