The fair-trade ticketing company.
English | Español | Français
Find an Event! Create an Event! FAQ
 
Brown Paper Tickets API v2.0 - Add Price
Back
URL: https://www.brownpapertickets.com/api2/addprice
 
Description: This portal is used to add prices to a date. This portal must be used immediately after creating a new date. It may also be used to add prices to already existing dates. When used for this second purpose, it can be considered an "Update Event" portal.
 
Inputs:
id - Developer ID - Available from your Account Settings page.
 
account - Client Login Name - This account must be associated with your Developer Account.
 
event_id - Brown Paper Tickets' unique event tracking number. The event's event_id is returned when creating a new event and can also be found using the Event List feed.
 
date_id - Brown Paper Tickets' unique date tracking ID. The date's date_id is returned when creating a new date and can also be found using the Event Details feed.
 
price - This is the value of the price, not including service fee. This should be a floating point number.
 
price_name - This is the name of the price. The most common value for price_names is "General".
 
Optional
start_time - This is date and time at which this price will become available for sale. If not provided, this will default to start sales immediately. (Optional)
 
end_time - This is date and time at which this price will end. If not provided, this will default to end sales for this price when sales end for the date. This option cannot extend sales beyond the endtime for the date. (Optional)
 
max_sales - This is the maximum number of tickets to sell at this price. If not provided, will default to allowing up to the maximum number of tickets allowed for the date. (Optional)
 
Outputs: Returns a REST-Compliant XML feed containing the following variables:

resultcode
    300042 - Required variables are missing
 
    300043 - Unknown error while fetching event info from DB
 
    300044 - Event does not belong to account
 
    300045 - Unknown error while fetching date info from DB
 
    300046 - Unable to find date
 
    300047 - Unable to add price
 
    0000 - Success.
 
price_id - The unique tracking number for this price. The price_id must be used when editing this price.