Get price quote for an event
curl --request POST \
--url https://api-staging.tickify.io/partners/events/quote \
--header 'Content-Type: application/json' \
--header 'x-partner-key: <api-key>' \
--data '
{
"eventKey": "2c344fed-1642-404b-b572-a3fb53b0fac2",
"items": [
{
"tierKey": "550e8400-e29b-41d4-a716-446655440000",
"quantity": 2
}
],
"couponCode": "SUMMER24",
"upsellKeys": [
"up-123",
"up-456"
],
"affiliateKey": "miles_test",
"waiverAccepted": true,
"platform": "app"
}
'import requests
url = "https://api-staging.tickify.io/partners/events/quote"
payload = {
"eventKey": "2c344fed-1642-404b-b572-a3fb53b0fac2",
"items": [
{
"tierKey": "550e8400-e29b-41d4-a716-446655440000",
"quantity": 2
}
],
"couponCode": "SUMMER24",
"upsellKeys": ["up-123", "up-456"],
"affiliateKey": "miles_test",
"waiverAccepted": True,
"platform": "app"
}
headers = {
"x-partner-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-partner-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
eventKey: '2c344fed-1642-404b-b572-a3fb53b0fac2',
items: [{tierKey: '550e8400-e29b-41d4-a716-446655440000', quantity: 2}],
couponCode: 'SUMMER24',
upsellKeys: ['up-123', 'up-456'],
affiliateKey: 'miles_test',
waiverAccepted: true,
platform: 'app'
})
};
fetch('https://api-staging.tickify.io/partners/events/quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-staging.tickify.io/partners/events/quote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'eventKey' => '2c344fed-1642-404b-b572-a3fb53b0fac2',
'items' => [
[
'tierKey' => '550e8400-e29b-41d4-a716-446655440000',
'quantity' => 2
]
],
'couponCode' => 'SUMMER24',
'upsellKeys' => [
'up-123',
'up-456'
],
'affiliateKey' => 'miles_test',
'waiverAccepted' => true,
'platform' => 'app'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-partner-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-staging.tickify.io/partners/events/quote"
payload := strings.NewReader("{\n \"eventKey\": \"2c344fed-1642-404b-b572-a3fb53b0fac2\",\n \"items\": [\n {\n \"tierKey\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"quantity\": 2\n }\n ],\n \"couponCode\": \"SUMMER24\",\n \"upsellKeys\": [\n \"up-123\",\n \"up-456\"\n ],\n \"affiliateKey\": \"miles_test\",\n \"waiverAccepted\": true,\n \"platform\": \"app\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-partner-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-staging.tickify.io/partners/events/quote")
.header("x-partner-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"eventKey\": \"2c344fed-1642-404b-b572-a3fb53b0fac2\",\n \"items\": [\n {\n \"tierKey\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"quantity\": 2\n }\n ],\n \"couponCode\": \"SUMMER24\",\n \"upsellKeys\": [\n \"up-123\",\n \"up-456\"\n ],\n \"affiliateKey\": \"miles_test\",\n \"waiverAccepted\": true,\n \"platform\": \"app\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.tickify.io/partners/events/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-partner-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"eventKey\": \"2c344fed-1642-404b-b572-a3fb53b0fac2\",\n \"items\": [\n {\n \"tierKey\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"quantity\": 2\n }\n ],\n \"couponCode\": \"SUMMER24\",\n \"upsellKeys\": [\n \"up-123\",\n \"up-456\"\n ],\n \"affiliateKey\": \"miles_test\",\n \"waiverAccepted\": true,\n \"platform\": \"app\"\n}"
response = http.request(request)
puts response.read_bodyevents-consumer
Get price quote for an event
POST
/
partners
/
events
/
quote
Get price quote for an event
curl --request POST \
--url https://api-staging.tickify.io/partners/events/quote \
--header 'Content-Type: application/json' \
--header 'x-partner-key: <api-key>' \
--data '
{
"eventKey": "2c344fed-1642-404b-b572-a3fb53b0fac2",
"items": [
{
"tierKey": "550e8400-e29b-41d4-a716-446655440000",
"quantity": 2
}
],
"couponCode": "SUMMER24",
"upsellKeys": [
"up-123",
"up-456"
],
"affiliateKey": "miles_test",
"waiverAccepted": true,
"platform": "app"
}
'import requests
url = "https://api-staging.tickify.io/partners/events/quote"
payload = {
"eventKey": "2c344fed-1642-404b-b572-a3fb53b0fac2",
"items": [
{
"tierKey": "550e8400-e29b-41d4-a716-446655440000",
"quantity": 2
}
],
"couponCode": "SUMMER24",
"upsellKeys": ["up-123", "up-456"],
"affiliateKey": "miles_test",
"waiverAccepted": True,
"platform": "app"
}
headers = {
"x-partner-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-partner-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
eventKey: '2c344fed-1642-404b-b572-a3fb53b0fac2',
items: [{tierKey: '550e8400-e29b-41d4-a716-446655440000', quantity: 2}],
couponCode: 'SUMMER24',
upsellKeys: ['up-123', 'up-456'],
affiliateKey: 'miles_test',
waiverAccepted: true,
platform: 'app'
})
};
fetch('https://api-staging.tickify.io/partners/events/quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-staging.tickify.io/partners/events/quote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'eventKey' => '2c344fed-1642-404b-b572-a3fb53b0fac2',
'items' => [
[
'tierKey' => '550e8400-e29b-41d4-a716-446655440000',
'quantity' => 2
]
],
'couponCode' => 'SUMMER24',
'upsellKeys' => [
'up-123',
'up-456'
],
'affiliateKey' => 'miles_test',
'waiverAccepted' => true,
'platform' => 'app'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-partner-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-staging.tickify.io/partners/events/quote"
payload := strings.NewReader("{\n \"eventKey\": \"2c344fed-1642-404b-b572-a3fb53b0fac2\",\n \"items\": [\n {\n \"tierKey\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"quantity\": 2\n }\n ],\n \"couponCode\": \"SUMMER24\",\n \"upsellKeys\": [\n \"up-123\",\n \"up-456\"\n ],\n \"affiliateKey\": \"miles_test\",\n \"waiverAccepted\": true,\n \"platform\": \"app\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-partner-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-staging.tickify.io/partners/events/quote")
.header("x-partner-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"eventKey\": \"2c344fed-1642-404b-b572-a3fb53b0fac2\",\n \"items\": [\n {\n \"tierKey\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"quantity\": 2\n }\n ],\n \"couponCode\": \"SUMMER24\",\n \"upsellKeys\": [\n \"up-123\",\n \"up-456\"\n ],\n \"affiliateKey\": \"miles_test\",\n \"waiverAccepted\": true,\n \"platform\": \"app\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.tickify.io/partners/events/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-partner-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"eventKey\": \"2c344fed-1642-404b-b572-a3fb53b0fac2\",\n \"items\": [\n {\n \"tierKey\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"quantity\": 2\n }\n ],\n \"couponCode\": \"SUMMER24\",\n \"upsellKeys\": [\n \"up-123\",\n \"up-456\"\n ],\n \"affiliateKey\": \"miles_test\",\n \"waiverAccepted\": true,\n \"platform\": \"app\"\n}"
response = http.request(request)
puts response.read_bodyAuthorizations
Partner API Key (tk_live_... or tk_test_...)
Body
application/json
The unique UUID of the event
Example:
"2c344fed-1642-404b-b572-a3fb53b0fac2"
List of ticket tiers and quantities being purchased
Show child attributes
Show child attributes
Optional discount coupon code
Example:
"SUMMER24"
List of IDs for upsell items (e.g., parking, merch)
Example:
["up-123", "up-456"]
Optional affiliate tracking key/code
Example:
"miles_test"
Must be true if the event requires a waiver acceptance
Example:
true
The platform making the request
Available options:
web, app Example:
"app"
Response
201

