Gallery Platform API
Reference

Cancel an order

Cancels an order and releases its seats — its tickets are voided so the session's capacity frees up.

POST
/gallery/orders/{orderId}/cancel

Cancels an order and releases its seats — its tickets are voided so the session's capacity frees up.

Authorization

bearerAuth shows:update
AuthorizationBearer <token>

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

In: header

Scope: shows:update

Path Parameters

orderId*string

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.

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",  "contact_id": "string",  "buyer_name": "string",  "buyer_email": "string",  "status": "pending",  "subtotal_cents": -9007199254740991,  "currency": "string",  "tickets": [    {      "id": "string",      "order_id": "string",      "session_id": "string",      "ticket_type_id": "string",      "status": "issued",      "created_at": "string"    }  ],  "metadata": {    "property1": "string",    "property2": "string"  },  "created_at": "string",  "updated_at": "string"}