Skip to content

List catalogs

Request

Attributes details

Name

Name of the catalog.

Capabilities

What the catalog can be used for. A catalog has at least one capability.

  • ticketing: the /v1/ticketing/catalogs/{catalogId}/... endpoints (product bases, offers, prices, availabilities…) can be used.

Calling an endpoint requiring a capability the catalog does not support returns a 422 problem of type /errors/catalog-capability-not-supported, with a capability field naming the missing capability.

Timestamps

  • createdAt, UTC, the time at which the catalog was first imported.
  • lastSyncedAt, UTC, the time at which the catalog was updated.

ShortDescription

Short description of the catalog (HTML string). May be null. Localized content.

Description

Description of the catalog (HTML string). May be null. Localized content.

TermsOfUse

Terms of use of the catalog (HTML string). May be null. Localized content.

Venue

Venue information for the catalog. May be null.

  • name: Venue name
  • line1, line2: Address lines
  • postalCode, city, country: Address details
  • phone, website: Contact information
  • latitude, longitude: Geographic coordinates (decimal degrees, returned as strings)

Medias content

  • logo: Logo image if available
  • gallery: Gallery images ordered by position
Security
JWT
Query
pageinteger, >= 1

The collection page number

Default:1
itemsPerPageinteger, [ 0 .. 50 ]

The number of items per page

Default:10
capabilitystring

Only list catalogs supporting this capability

Enum:"ticketing""accommodation"
order[createdAt]string

Order by createdAt

Enum:"asc""desc"
curl -i -X GET \
  'https://api.demo.korusticket.com/v1/catalogs?page=1&itemsPerPage=10&capability=ticketing&order%5BcreatedAt%5D=asc' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Catalog collection

Bodyapplication/ld+json
totalItemsinteger, >= 0
searchobject
viewobject
Example:
{ "@id": "string", "@type": "string", "first": "string", "last": "string", "previous": "string", "next": "string" }
memberArray of objects(Catalog.jsonld-v1.catalog.read)required
Response
{ "totalItems": 0, "search": { "@type": "string", "template": "string", "variableRepresentation": "string", "mapping": [ … ] }, "view": { "@id": "string", "@type": "string", "first": "string", "last": "string", "previous": "string", "next": "string" }, "member": [ { … } ] }