| |
|
|
Brown Paper Tickets API Documentation
|
|
|
Cart Value
| URL: |
https://www.brownpapertickets.com/api/cartvalue.html |
| |
| Description: |
This portal is used to view a cart's value. |
| |
|
| l |
- |
Login name for your Brown Paper Tickets account. |
| |
| p |
- |
Password for your Brown Paper Tickets account. |
| |
| cart_id |
- |
Brown Paper Tickets' unique Cart ID. This ID is returned from Stage 1 or the Submit Order portal. |
|
| |
| 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.
| 8888 |
- |
Missing Cart ID |
| |
| 1111 |
- |
No such cart |
| |
| 0000:CART VALUE:NEEDS STAGE 3 |
- |
Success. Includes the value of the cart, including service fee and possible international shipping fee, as a floating point number. Also includes a "1" if Stage 3 is required before finalizing the order (ie. physical tickets have been entered into the cart, but shipping information has not been collected) and a "0" if Stage 3 is not required. |
|
|
|
|
 |