Admissions
Create an admission quote
Changed onpost/events/{eventId}/admissions/quote
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Path parameters
eventId, string required
Identifier of the event to which this admission type is linked
Example:evt_01jps5cgsenjrazw6wswmyspa3
Request body
object required
base, integer required
Base cost of a ticket for this admission type before fees, in cents
currency, 'AED' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BZD' | 'CAD' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MNT' | 'MOP' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SRD' | 'SVC' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'ZAR' | 'ZMW' | 'ZWL' required
Three-letter ISO 4217 currency code for the ticket price
override, object
Optional admission-level booking fee percentage to preview instead of the event fee formula.
Example request
{
"base": 1000,
"currency": "AUD",
"override": {
"booking": 7.5
}
}Response
OK
object required
quote, object required
Response schema for admission pricing quotes, including booking fee calculations and explanatory messages
Example response
{
"quote": {
"eventId": "evt_01jps5cgsenjrazw6wswmyspa3",
"message": "7.5% of the ticket price or $2 AUD, whichever is higher",
"price": {
"base": 1000,
"booking": 200,
"currency": "AUD"
}
}
}Changes
- breaking
added the pattern
^evt_[0-9a-z]{26}$to thepathrequest parametereventId - breaking
the
baserequest property type changed fromnumbertointeger - warning
the
baserequest property's max was set to9007199254740991.00
4 more changes in this revision
- breaking