Home   Browse   Post Event   FAQ   Media
 
The first and only fair-trade ticketing service!

  

Brown Paper Tickets API Documentation


Feeds

  Event Information
    Event List
    Event Details
    Date Details
  Sales Information
    General Sales
    Event Sales
    Order List
  Client Information (New!)
    Account Information
    Sub Account Information
  Tool Information (New!)
    Printer Information
    Tool Information

Portals

  Submit Event
    Create Event
    Add Date
    Add Price
  Update Event
    Change Event
    Change Date
    Change Price
  Submit Order
    Submit Order
    Cart Contents
    Cart Value
  Client Accounts (New!)
    Create Client Account
    Edit Client Account
  Sub Accounts (New!)
    Create Sub Account
    Delete Sub Account
    Manage Sub Account Tools
 

Add Price


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.

[24/7 Ticket Hotline] 1-800-838-3006 [Email] support@BrownPaperTickets.com [Main Office] 1-877-278-4842 [Locations]