Skip to main content

Generate Seats

POST/venues/{id}/layouts/{layoutId}/areas/{areaId}/seats/generate
Auto-generate seats for an area based on a pattern. Specify the number of rows, seats per row, and naming conventions-the system creates all the seats automatically. Perfect for standard theatre-style seating. You can customise row labels (A, B, C or 1, 2, 3) and seat numbering patterns (left-to-right, alternating, etc.).

When to use this

  • Setting up a new theatre with standard row seating
  • Creating sections with consistent seat numbering
  • Quickly populating a venue layout for testing

Parameters

idpathrequired
string

Venue ID

layoutIdpathrequired
string

Layout ID

areaIdpathrequired
string

Area ID

Request Body

sectionstringSection name for all generated seats
startRow*stringStarting row (can be letter A-Z or number)
endRow*stringEnding row (can be letter A-Z or number)
seatsPerRow*numberNumber of seats per row
rowPrefixstringPrefix for row labels
seatPrefixstringPrefix for seat numbers
categoryIdstringCategory ID for all generated seats
skipRowsstring[]Rows to skip
skipSeatsstring[]Specific seats to skip (format: row-seat)

Response

Seats generated successfully

Notes

ℹ️Generated seats can be individually edited afterwards if needed.
💡Use this for the bulk of seats, then add individual accessible or special seats separately.
Code Samples

Generate Seats For Area using the TypeScript SDK:

import { BackstageClient } from '@ticketlayer/backstage';

const client = new BackstageClient({
organisationSlug: 'your-org',
});
client.setAccessToken('YOUR_ACCESS_TOKEN');

// Generate Seats For Area
const result = await client.seatsforarea.generateSeatsForArea('{{ID}}', { /* request body */ });

console.log('Operation completed:', result);

Try It

Path Parameters
Venue ID
Layout ID
Area ID
Request Body
Section name for all generated seats
Starting row (can be letter A-Z or number)
Ending row (can be letter A-Z or number)
Number of seats per row
Prefix for row labels
Prefix for seat numbers
Category ID for all generated seats
Rows to skip
Specific seats to skip (format: row-seat)

Related