Skip to content

Reference

Checkout links

Hosted checkout pages for sellers with no site (off unless turned on).

View as Markdown

Every operation below is also in the OpenAPI document. One that names an MCP tool can be called through the MCP server; one that names none cannot.

GET /v1/checkout_links

Operation id listCheckoutLinks. MCP tool list_checkout_links. SDK tickets.checkoutLinks.list.

Hosted checkout links, filtered by event or active. They are off unless the org turned on hosted_checkout_enabled.

Who may call it. Any one of: An API key with scope full, read. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has read (owner, admin, staff, viewer).

ParameterInTypeDescription
limitqueryintegerHow many to return, 1 to 100 (default 20).
starting_afterquerystringAn id from the page before: the page after it.
ending_beforequerystringAn id from the page after: the page before it. A list read from the database offers it as the list comes and filtered by event alone, in the default order, and answers parameter_invalid to any other…
eventquerystringAn id starting with evt_.
activequery"true" | "false"

Answers 200. A page of links.

Fields

FieldTypeDescription
object *"list"
data *array of CheckoutLinkThis page, newest first.
has_more *booleanTrue when there is another page: pass the last id as starting_after.
url *"/v1/checkout_links"The path this list came from (/v1/checkout_links).

* required

POST /v1/checkout_links

Operation id createCheckoutLink. MCP tool create_checkout_link. SDK tickets.checkoutLinks.create.

Makes a hosted checkout page (/c/:id) for sellers with no site of their own: which types and add-ons it offers, an optional code, a limit and an end time. Needs hosted_checkout_enabled, else feature_disabled: an agent signed in as a member turns it on with update_org, and a person under Settings.

Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has catalog.write (owner, admin, staff).

Request body (CreateCheckoutLinkInput)

FieldTypeDescription
event *stringAn id starting with evt_.
namestring
ticket_types"all" | array of stringEmpty: no tickets, so it must offer an add-on bought for the order (parking).
add_ons"all" | array of stringWith no ticket types, only add-ons bought for the order.
codestringA promo or access code as typed; case does not matter.
limitinteger
expires_atstring (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
utmobject
metadataobjectYour own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them.

* required

JSON
{
  "event": "evt_yrd2027",
  "ticket_types": [
    "tt_ga_weekend"
  ]
}

Answers 201. The link.

Fields (CheckoutLink)

FieldTypeDescription
object *"checkout_link"
id *stringAn id starting with chl_.
mode *Modetest or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix.
event *stringAn id starting with evt_.
name *string | null
url *stringThe page (/c/:id).
active *boolean
ticket_types *"all" | array of string
add_ons *"all" | array of string
code *string | nullApplied for everyone who opens it.
limit *integer | nullOrders it may take, or null.
orders *integer
expires_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
utm *object
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
updated_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
metadata *MetadataYour own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them.

* required

Errors of its own. feature_disabled. The errors every operation can answer are on the errors page.

GET /v1/checkout_links/{id}

Operation id getCheckoutLink. MCP tool get_checkout_link. SDK tickets.checkoutLinks.retrieve.

One hosted checkout link with what it offers, its limit, its end time and whether it is active.

Who may call it. Any one of: An API key with scope full, read. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has read (owner, admin, staff, viewer).

ParameterInTypeDescription
id *pathstringAn id starting with chl_.

Answers 200. The link.

Fields (CheckoutLink)

FieldTypeDescription
object *"checkout_link"
id *stringAn id starting with chl_.
mode *Modetest or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix.
event *stringAn id starting with evt_.
name *string | null
url *stringThe page (/c/:id).
active *boolean
ticket_types *"all" | array of string
add_ons *"all" | array of string
code *string | nullApplied for everyone who opens it.
limit *integer | nullOrders it may take, or null.
orders *integer
expires_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
utm *object
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
updated_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
metadata *MetadataYour own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them.

* required

PATCH /v1/checkout_links/{id}

Operation id updateCheckoutLink. MCP tool update_checkout_link. SDK tickets.checkoutLinks.update.

Renames a link, changes its limit or end time, or turns it off with active: false.

Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has catalog.write (owner, admin, staff).

ParameterInTypeDescription
id *pathstringAn id starting with chl_.

Request body (UpdateCheckoutLinkInput)

FieldTypeDescription
namestring | null
activeboolean
limitinteger | null
expires_atstring | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
metadataobjectYour own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them.
JSON
{
  "active": false
}

Answers 200. Updated.

Fields (CheckoutLink)

FieldTypeDescription
object *"checkout_link"
id *stringAn id starting with chl_.
mode *Modetest or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix.
event *stringAn id starting with evt_.
name *string | null
url *stringThe page (/c/:id).
active *boolean
ticket_types *"all" | array of string
add_ons *"all" | array of string
code *string | nullApplied for everyone who opens it.
limit *integer | nullOrders it may take, or null.
orders *integer
expires_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
utm *object
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
updated_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
metadata *MetadataYour own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them.

* required