Add a ticket type
Adds a ticket type (admission tier) to a program. Currency defaults to the gallery's base currency.
Adds a ticket type (admission tier) to a program. Currency defaults to the gallery's base currency.
Authorization
bearerAuth shows:updateA gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).
In: header
Scope: shows:update
Path Parameters
Header Parameters
Optional. Send a unique key per logical operation to make retries safe: a retry with the same key replays the stored success for 14 days instead of re-running the write. Reusing a key with a different body returns 400.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Add a ticket type to a program.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
{ "id": "string", "event_id": "string", "session_id": "string", "kind": "free", "label": "string", "amount_cents": -9007199254740991, "currency": "string", "min_amount_cents": -9007199254740991, "suggested_amount_cents": -9007199254740991, "capacity": -9007199254740991, "min_quantity": -9007199254740991, "max_quantity": -9007199254740991, "available_from": "string", "available_until": "string", "position": -9007199254740991, "sold_count": -9007199254740991, "created_at": "string", "updated_at": "string"}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}