REST API: Get the Settings for your Account

Getting the settings for your account gives you access to the delivery methods, discounts, and promotions. This data will be required to place reservations and complete orders.

HTTP GET to Users

To get the current settings for your account, make an HTTP GET request to the generic User Resource Uri.

/accounts/{AccountKey}

Examples

curl https://api.ticketbiscuit.com/accounts/TicketBiscuit -k -cookiejar cookies.txt
{
  "DeliveryMethods": [
    {
      "Active": true,
      "Description": "Tickets will be physically shipped to the customer.",
      "FlatFee": 4,
      "ID": 2304,
      "PercentFee": 0,
      "PerItemFee": 1,
      "Title": "FEDEX",
      "Type": 3
    },
    {
      "Active": true,
      "Description": "Tickets may be printed on standard 8.5 x 11 paper immediately after completing the order, or at any later date by following the link in your confirmation email.",
      "FlatFee": 1,
      "ID": 1974,
      "PercentFee": 0,
      "PerItemFee": 0.85,
      "Title": "Print At Home",
      "Type": 1
    },
    {
      "Active": true,
      "Description": "Tickets are delivered at time of purchase, or no delivery is required",
      "FlatFee": 0,
      "ID": 2083,
      "PercentFee": 0,
      "PerItemFee": 0,
      "Title": "nd",
      "Type": 0
    },
  ],
  "Discounts": [
    {
      "AmountPerTicket": 0,
      "FreeTicketsPerOrder": 0,
      "ID": 155,
      "Title": "Walkup CC Fee",
      "Description": "Fee charged to walkup customers who use a credit card",
      "Amount": 0,
      "Percentage": -0.03,
      "Active": true
    },
    {
      "AmountPerTicket": 0,
      "FreeTicketsPerOrder": 0,
      "ID": 193,
      "Title": "B&W",
      "Description": "Black and White card holders receive $5 off",
      "Amount": 5,
      "Percentage": 0,
      "Active": true
    },
    {
      "AmountPerTicket": 0,
      "FreeTicketsPerOrder": 2,
      "ID": 275,
      "Title": "2 Free Tickets",
      "Description": "",
      "Amount": 0,
      "Percentage": 0,
      "Active": true
    },
    {
      "AmountPerTicket": 0,
      "FreeTicketsPerOrder": 0,
      "ID": 281,
      "Title": "Single-use promo",
      "Description": "Discount for Single-Use Promotional Discount",
      "Amount": 0,
      "Percentage": 0,
      "Active": true
    },
    {
      "AmountPerTicket": 0,
      "FreeTicketsPerOrder": 0,
      "ID": 334,
      "Title": "$5",
      "Description": "5 off",
      "Amount": 5,
      "Percentage": 0,
      "Active": true
    },
  ],
  "LogoImageID": 15858,
  "IsPaymentTestMode": true,
  "IsMerchantAccountOurs": true,
  "Theme": null,
  "TicketTemplates": [
    {
      "AccountID": 1,
      "Name": "Foo",
      "TemplateID": 1,
      "Widgets": [
        {
          "ControlState": {
            "id": "e54cd99a-80c0-42ca-9eec-d84045e7881c",
            "htmlContent": "
” }, “Ordinal”: 0, “Type”: 1 }, { “ControlState”: { “id”: “1f8fd6a4-06bb-40d4-953d-03dfe4d8acb9”, “c”: true, “eid”: “0” }, “Ordinal”: 1, “Type”: 6 }, { “ControlState”: { “id”: “36200c0c-e927-468b-9564-b6191c8d7346”, “text”: “sample text” }, “Ordinal”: 2, “Type”: 2 }, { “ControlState”: { “id”: “9d292662-de60-46c2-bed6-b2655b2a18ab”, “d”: “30” }, “Ordinal”: 3, “Type”: 7 }, { “ControlState”: { “id”: “aa49078c-03f4-42bc-b2e2-3a9e4eecf4e4” }, “Ordinal”: 4, “Type”: 8 }, { “ControlState”: { “id”: “6a912eb6-ce0b-47bd-b70b-fbf4396ac7cb”, “d”: false, “pid”: “1421640033836912”, “as”: “7900550301” }, “Ordinal”: 5, “Type”: 4 }, { “ControlState”: { “id”: “accec99d-fa40-47f9-954a-88a80a42e06c”, “d”: false, “pid”: “1421640033836912”, “as”: “7900550301” }, “Ordinal”: 6, “Type”: 4 }, { “ControlState”: { “id”: “4d3b7506-5c85-48a6-b530-58a63400fffe”, “htmlContent”: ”

THIS ISnYOUR TICKET
n
nYou must print this page and present itnat the
nentrance of the venue.  You will not be able to
nprint this ticket at the venue.
n” }, “Ordinal”: 7, “Type”: 1 } ] } ], “Promotions”: [ { “Unrestricted”: true, “Valid”: { “IsCurrentlyActive”: true, “StartingValue”: “2013-01-18T20:20:00”, “EndingValue”: “2013-12-18T20:20:00”, “From”: “2013-01-18T20:20:00”, “To”: “2013-12-18T20:20:00” }, “Restrictions”: [ ], “DiscountID”: 28, “ProductPassword”: null, “ID”: 283, “Title”: “Test Promo”, “Description”: null, “Amount”: 0, “Percentage”: 0, “Active”: false }, { “Unrestricted”: true, “Valid”: { “IsCurrentlyActive”: true, “StartingValue”: “2013-04-01T17:55:00”, “EndingValue”: “2013-05-01T17:55:00”, “From”: “2013-04-01T17:55:00”, “To”: “2013-05-01T17:55:00” }, “Restrictions”: [ ], “DiscountID”: 28, “ProductPassword”: null, “ID”: 298, “Title”: “promo”, “Description”: null, “Amount”: 0, “Percentage”: 0, “Active”: false } ], “CultureCode”: “en-US”, “Settings”: { “EventAvailable.LimitedThreshold”: “50”, “EventDetail.ShowLogin”: “false”, “EventListing.From.Default”: “-0.25”, “GoogleAnalytics.ID”: “UA-938607-4”, “NumberOfTicketsPerPage”: “2”, “PriceTierAvailable.LimitedThreshold”: “50”, “PrintTickets.Symbology”: “Code39”, “SpotlightDaysFuture”: “365”, “SpotlightDaysPast”: “1” }, “TimeZoneID”: “Central Standard Time”, “UICultureCode”: “en-US”, “Name”: “Example Ticketing Account”, “Key”: “Example”, “ID”: 3002, “EmailAddress”: “example@ticketbiscuit.com” }