X
How do I get paid? Learn about our new Secured Funds Program!
  View site in English, Español, or Français
The fair-trade ticketing company.
Sign Me Up!  |  Log In
 
Find An Event Create Your Event Help
 
Brown Paper Tickets API v1.0 - Add Price
Back
URL: https://www.brownpapertickets.com/api/addprice.html
 
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:
l - Login name for your Brown Paper Tickets account.
 
p - Password for your Brown Paper Tickets account.
 
e_number - Brown Paper Tickets' unique event tracking number. The event's e_number 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 plain text 4-character result code and additional information when available. Follows the format: "Code:xxxx:Additional Information:" where "xxxx" is the result code. The possible 4 character codes are listed below.

1111 - Required variables are missing
 
2222 - Unknown error while fetching event info from DB
 
3333 - Event does not belong to user
 
4444 - Event can no longer be updated
 
5555 - Unknown error while fetching date info from DB
 
6666 - No such date for this event
 
9999 - Unknown error while posting info to DB
 
0000:E_NUMBER:DATE_ID:PRICE_ID - Success. Includes the event's e_number, the unique event tracking ID provided to each event, followed by the date's date_id, the unique tracking ID provided to each date, followed by the price's price_id, the unique tracking ID provided to each price.
Contact us
Email
support@brownpapertickets.com
Phone
1-800-838-3006 (Temporarily Unavailable)
Resources
Developers
Help
Ticket Buyers
Track Your Order
Browse Events
Locations
Event Producers
Create an Event
Pricing
Services
Buy Pre-Printed Tickets
The Venue List
Find out about local events
Get daily or weekly email notifications of new and discounted events in your neighborhood.
Sign up for local events
Connect with us
Follow us on Facebook
Follow us on Twitter
Follow us on Instagram
Watch us on YouTube
Get to know us
Use of this service is subject to the Terms of Usage, Privacy Policy, and Cookie Policy of Brown Paper Tickets. All rights reserved. © 2000-2022 Mobile EN ES FR