Delete a ticket type
Deletes a ticket type. Sold lines keep their history — the line-item reference nulls out.
Deletes a ticket type. Sold lines keep their history — the line-item reference nulls out.
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.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
{ "id": "string", "deleted": true}{ "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}Add a ticket type POST
Adds a ticket type (admission tier) to a program. Currency defaults to the gallery's base currency.
List a program's ticket types GET
Lists a program's ticket types (admission tiers) in position order, each with its live sold count (paid invoice line-item quantities, plus $0 comps). Note: `sold_count` reads invoice line items, so an API key without `sales:read` sees every type's count as 0 (row-level security hides the lines) — request `sales:read` alongside `shows:read` to read real counts.