Ticketmaster

FREE
By stefan.skliarov
Updated 5 months ago
Events
6.9/10
Popularity Score
226ms
Latency
100%
Success Rate

Ticketmaster API Documentation

Pull events, venues, tickets, deliveries and payments.

View API Details
POSTaddDeliveriesToCart
POSTaddPaymentsToCart
POSTcompleteCartPurchase
POSTcreateCart
POSTcreateEvents
POSTemptyCart
POSTgetAccessToken
POSTgetDeliveries
POSTgetEventOffers
POSTgetOptions
POSTgetPayments
POSTgetSingleAttraction
POSTgetSingleCart
POSTgetSingleClassification
POSTgetSingleEvent
POSTgetSingleEventImages
POSTgetSingleGenre
POSTgetSingleSegment
POSTgetSingleVenue
POSTgetUser
POSTrefreshAccessToken
POSTsearchAttractions
POSTsearchClassification
POSTsearchEvents
POSTsearchVenues
POSTupdateCartProducts
POSTaddDeliveriesToCart

This operation allows users to add deliveries to a cart.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
deliveriesARRAY
REQUIREDContainer of add delivery requests.
pollingCallbackUrlSTRING
REQUIREDClient webhook URI where response will be posted if the operation polls.
apiKeyCREDENTIALS
REQUIREDClient key from Ticketmaster
cartIdSTRING
REQUIREDID of the cart
Code Snippet
unirest.post("https://Ticketmasterstefan-skliarovV1.p.rapidapi.com/addDeliveriesToCart")
.header("X-RapidAPI-Host", "Ticketmasterstefan-skliarovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://Ticketmasterstefan-skliarovV1.p.rapidapi.com/addDeliveriesToCart
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://Ticketmasterstefan-skliarovV1.p.rapidapi.com/addDeliveriesToCart")
.header("X-RapidAPI-Host", "Ticketmasterstefan-skliarovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication