ticketTypes
❗
Important note: When you create a new document with a price and name, a cloud function will run generating a new product within stripe. IDs related to this product will then be added to the document automatically and you should not attempt to add these manually!
ticketTypes document structure
| Name | Required | Data type | Explanation | Notes |
|---|---|---|---|---|
| name | String | The name of the ticket type - this can be anything you want. | ||
| price | Number | The price of the ticket expressed in pence. | Make sure you use the number datatype when creating this attribute. |
Examples
