Seat Status and Availability
The Spektrix API can retrieve availability status for event instances. For details on making queries for Events and Instances you can look through our guide to Filtering Events.
Availability is linked to instances and not whole events, so in order to determine the status of the event you will need to make individual calls to all instances first. Note that the resource isOnSale
which is revealed from GET api/v3/events
does not represent availability.
Making a large number of client-side API requests at once can negatively impact the performance of your website. Calls related to overall Event and Instance availability should generally be cached and made server-side to avoid browser slow-down and rate limiting.
Locks
This guide on status and availability refers to ‘locks’. Spektrix allows clients to ‘lock’ certain seats on a seating plan in order to provide additional information about a given seat or to hold them back from general sale online.
Potential use cases for locks include:
- Seats for a personal assistant for a customer who requires 1-1 support, with no customer eligibility criteria. The seats are available to anyone, but hold additional information.
- Exclusive seats held back, with a customer eligibility criteria specific to members, while the seats remain unavailable to the general public.
- ‘House seats’ which are held back and sold at the discretion of the Box Office Manager or released last minute (no longer locked) if not needed.
What this potentially results in is two separate sets of locked seats:
- Locked seats that are accessible for the general public that will not change customer-to-customer. Generally, cached server-side calls should be used to access this information.
- Locked seats that will change based on whether or not a customer has logged into their account. These locks are customer-specific and can be viewed by making client-side API calls using the custom domain instead of spektrix.system.com. In order to view the set of locked seats that are available to the specific customer requires successful authentication. Customers can log in via the
loginlogout.aspx
iframe or a client-side API call tov3/customer/authenticate
, using the custom domain instead of system.spektrix.com in order to share the session.