Gallery Platform API
Reference

Update a ticket type

Updates a ticket type's label, amount, currency, capacity, or position.

PATCH
/gallery/programs/{programId}/ticket-types/{ticketTypeId}

Updates a ticket type's label, amount, currency, capacity, or position.

Authorization

bearerAuth shows:update, sales:read
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: shows:update, sales:read

Path Parameters

programId*string

The program id.

ticketTypeId*string

The ticket type id.

Header Parameters

Idempotency-Key?string

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.

Update a ticket type.

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,  "metadata": {    "property1": "string",    "property2": "string"  },  "created_at": "string",  "updated_at": "string"}