Create Price Scheme
POST
/events/{eventId}/price-schemesSet up pricing for an event.
Price schemes define what tickets cost and what types are available. You might
have "Standard" and "VIP" ticket types, or "Adult", "Child", and "Concession"
pricing.
Each price scheme can be linked to specific occurrences, letting you charge
different prices for weekend shows or opening night.
When to use this
- Setting up ticket prices when creating a new event
- Creating early-bird vs regular pricing
- Defining different price tiers (Standard, VIP, etc.)
Parameters
eventIdpathrequiredEvent ID
Request Body
name*stringPrice scheme name
descriptionstringPrice scheme description
status"draft" | "active" | "archived"Price scheme status
parentPriceSchemeIdstringParent price scheme to inherit from
categoryId*string
typeId*string
price*number
currency"GBP" | "USD" | "EUR" | "AUD" | "CAD"
Response
Price scheme created successfully
Notes
ℹ️Price schemes are linked to events, and can optionally be restricted to specific occurrences.
💡Create your price schemes before publishing the event-customers can't buy tickets without pricing.
Code Samples
Create Event Price Scheme using the TypeScript SDK:
import { BackstageClient } from '@ticketlayer/backstage';
const client = new BackstageClient({
organisationSlug: 'your-org',
});
client.setAccessToken('YOUR_ACCESS_TOKEN');
// Create eventpricescheme
const eventpricescheme = await client.eventpricescheme.create({
name: 'New EventPriceScheme',
// Add other required fields
});
console.log(`Created eventpricescheme with ID: ${eventpricescheme.id}`);