Get one discount code
tito_get_discount_codeFetch a single discount code by its numeric id, including how many times it has been used. Tito: GET /:account/:event/discount_codes/:discount_code_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_slug | Yes | The event slug (the second part of https://ti.to/<account>/<event>), e.g. 2026. | |
| account_slug | No | The account slug (the first part of https://ti.to/<account>/<event>). Optional if TITO_ACCOUNT is set; tito_whoami lists the accounts this token can reach. | |
| discount_code_id | Yes | The discount code's numeric id. |