Buy/Sell Examples for Orders / Create

A Buy/Sell order is where you create an order in which your Office is selling tickets to one of your Clients. Additionally, if the tickets are owned by another Office the system will create the corresponding purchase order to purchase the tickets from the Office that owns them. This is the type of order most Partners and websites should be creating. Please see the Orders / Create documentation for more info.

Physical Tickets Shipping via FedEx

Create a Buy/Sell order for physical tickets that will ship via FedEx. In this example, a broker named “TEvo POS Test - Main Office (1937)” is selling two tickets to their client, Ned Flanders (167895). 

{
  "orders": [
    {
      "shipped_items": [
        {
          "items": [
            {
              "ticket_group_id": 385270025,
              "quantity": 2,
              "price": 5
            }
          ],
          "type": "FedEx",
          "service_type": "LEAST_EXPENSIVE",
          "signature_type": "INDIRECT",
          "residential": true,
          "ship_to_company_name": "Leftorium",
          "ship_to_name": "Ned Flanders",
          "address_id": 111111,
          "phone_number_id": 33333
        }
      ],
      "billing_address_id": 111111,
      "payments": [
        {
          "type": "credit_card",
          "credit_card_id": 22222
        }
      ],
      "seller_id": 1937,
      "client_id": 167895,
      "created_by_ip_address": "12.34.56.78",
      "service_fee": 0,
      "shipping": 0,
      "tax": 0,
      "additional_expense": 0,
      "discount": 0,
      "promo_code": "10DOLLARSOFF",
      "seller_reference_number": "123456789",
      "external_notes": "These notes will be visible to all parties",
      "internal_notes": "These notes will be visible only to your office (1937)"
    }
  ]
}

If the address to which the tickets should be shipped has not been created for the Client replace address_id with an address_attributes object.

          "address_id": 111111,

becomes

          "address_attributes": {
            "street_address": "7721 East Gray Road",
            "extended_address": "Suite 102",
            "locality": "Scottsdale",
            "region": "AZ",
            "postal_code": "85260",
            "country_code": "US"
          },

All FedEx shipments require a phone number of the recipient. If the phone number to be associated with the shipment has not been created for the Client replace phone_number_id with a phone_number_attributes object.

          "phone_number_id": 33333

becomes

          "phone_number_attributes": {
            "extension": "5",
            "number": "972-468-9750",
            "is_primary": false
          }

Physical Tickets with Local Pick Up

Create a Buy/Sell order for physical tickets when it is too late to ship and the tickets must be picked up locally by the consumer. In this example, a broker named “TEvo POS Test - Main Office (1937)” is selling two tickets to their client, Ned Flanders (167895). 

{
  "orders": [
    {
      "shipped_items": [
        {
          "items": [
            {
              "ticket_group_id": 385270025,
              "quantity": 2,
              "price": 5
            }
          ],
          "type": "LocalPickup",
          "ship_to_name": "Ned Flanders",
          "notes": "Please contact Ned to arrange when and where to pick up his ticket.",
          "phone_number_id": 33333
        }
      ],
      "billing_address_id": 111111,
      "payments": [
        {
          "type": "credit_card",
          "credit_card_id": 22222
        }
      ],
      "seller_id": 1937,
      "client_id": 167895,
      "created_by_ip_address": "12.34.56.78",
      "service_fee": 0,
      "shipping": 0,
      "tax": 0,
      "additional_expense": 0,
      "discount": 0,
      "promo_code": "10DOLLARSOFF",
      "seller_reference_number": "123456789",
      "external_notes": "These notes will be visible to all parties",
      "internal_notes": "These notes will be visible only to your office (1937)"
    }
  ]
}

If the phone number to be associated with the local pick up has not been created for the Client replace phone_number_id with a phone_number_attributes object.

          "phone_number_id": 33333

becomes

          "phone_number_attributes": {
            "extension": "5",
            "number": "972-468-9750",
            "is_primary": false
          }

Print at Home Tickets (Etickets)

Create a Buy/Sell order for Print at Home tickets (Etickets) that are delivered as a PDF file. In this example, a broker named “TEvo POS Test - Main Office (1937)” is selling two tickets to their client, Ned Flanders (167895). 

{
  "orders": [
    {
      "shipped_items": [
        {
          "items": [
            {
              "ticket_group_id": 385270025,
              "quantity": 2,
              "price": 5
            }
          ],
          "type": "Eticket",
          "email_address_id": 333333
        }
      ],
      "billing_address_id": 111111,
      "payments": [
        {
          "type": "credit_card",
          "credit_card_id": 22222
        }
      ],
      "seller_id": 1937,
      "client_id": 167895,
      "created_by_ip_address": "12.34.56.78",
      "service_fee": 0,
      "shipping": 0,
      "tax": 0,
      "additional_expense": 0,
      "discount": 0,
      "promo_code": "10DOLLARSOFF",
      "seller_reference_number": "123456789",
      "external_notes": "These notes will be visible to all parties",
      "internal_notes": "These notes will be visible only to your office (1937)"
    }
  ]
}

If the email address to be associated with the delivery has not been created for the Client replace email_address_id with a email_address_attributes object.

          "email_address_id": 333333

becomes

          "email_address_attributes": {
            "address": "nedflanders@example.com"
          }

Flash Seats™ Electronic Transfer

Create a Buy/Sell order for Flash Seats tickets to be electronically transferred to the Client. In this example, a broker named “TEvo POS Test - Main Office (1937)” is selling two tickets to their client, Ned Flanders (167895). The Flash Seats will be transferred to an email address (207924) that was previously created for Ned Flanders.

{
  "orders": [
    {
      "shipped_items": [
        {
          "items": [
            {
              "ticket_group_id": 385269975,
              "price": 10,
              "quantity": 2
            }
          ],
          "type": "FlashSeats",
          "ship_to_name": "Ned Flanders",
          "email_address_id": 207924,
        }
      ],
      "billing_address_id": 111111,
      "payments": [
        {
          "type": "credit_card",
          "credit_card_id": 22222
        }
      ],
      "seller_id": 1937,
      "client_id": 167895,
      "created_by_ip_address": "12.34.56.78",
      "service_fee": 0,
      "shipping": 0,
      "tax": 0,
      "additional_expense": 0,
      "discount": 0,
      "promo_code": "10DOLLARSOFF",
      "seller_reference_number": "123456789",
      "external_notes": "These notes will be visible to all parties",
      "internal_notes": "These notes will be visible only to your office (1937)"
    }
  ]
}

If the email address to which the tickets should be transferred has not been created for Ned Flanders simply replace

          "email_address_id": 207924,

with

          "email_address_attributes": {
            "address": "nedflanders@example.com"
          }

TM Mobile Entry Electronic Transfer

Create a Buy/Sell order for TM Mobile Entry tickets to be electronically transferred to the Client. In this example, a broker named “TEvo POS Test - Main Office (1937)” is selling two tickets to their client, Ned Flanders (167895). The tickets will be transferred to an email address (207924) that was previously created for Ned Flanders.

{
  "orders": [
    {
      "shipped_items": [
        {
          "items": [
            {
              "ticket_group_id": 385269975,
              "price": 10,
              "quantity": 2
            }
          ],
          "type": "TMMobile",
          "ship_to_name": "Ned Flanders",
          "email_address_id": 207924,
        }
      ],
      "billing_address_id": 111111,
      "payments": [
        {
          "type": "credit_card",
          "credit_card_id": 22222
        }
      ],
      "seller_id": 1937,
      "client_id": 167895,
      "created_by_ip_address": "12.34.56.78",
      "service_fee": 0,
      "shipping": 0,
      "tax": 0,
      "additional_expense": 0,
      "discount": 0,
      "promo_code": "10DOLLARSOFF",
      "seller_reference_number": "123456789",
      "external_notes": "These notes will be visible to all parties",
      "internal_notes": "These notes will be visible only to your office (1937)"
    }
  ]
}

If the email address to which the tickets should be transferred has not been created for Ned Flanders simply replace

          "email_address_id": 207924,

with

          "email_address_attributes": {
            "address": "nedflanders@example.com"
          }

TM Mobile Entry delivered via PDF a/k/a “Mobile Screencap” or “Mobile Screenshot”

Currently, these orders can be treated the same as Print at Home tickets (Etickets). See above.


Guest List

Create a Buy/Sell order for Guest List tickets. In this example, a broker named “TEvo POS Test - Main Office (1937)” is selling two tickets to their client, Ned Flanders (167895).

{
  "orders": [
    {
      "shipped_items": [
        {
          "items": [
            {
              "ticket_group_id": 385269975,
              "price": 10,
              "quantity": 2
            }
          ],
          "type": "GuestList",
          "ship_to_name": "Ned Flanders",
          "phone_number_id": 33333
        }
      ],
      "billing_address_id": 111111,
      "payments": [
        {
          "type": "credit_card",
          "credit_card_id": 22222
        }
      ],
      "seller_id": 1937,
      "client_id": 167895,
      "created_by_ip_address": "12.34.56.78",
      "service_fee": 0,
      "shipping": 0,
      "tax": 0,
      "additional_expense": 0,
      "discount": 0,
      "promo_code": "10DOLLARSOFF",
      "seller_reference_number": "123456789",
      "external_notes": "These notes will be visible to all parties",
      "internal_notes": "These notes will be visible only to your office (1937)"
    }
  ]
}

If the phone number to be associated with the local pick up has not been created for the Client replace phone_number_id with a phone_number_attributes object.

          "phone_number_id": 33333

becomes

          "phone_number_attributes": {
            "extension": "5",
            "number": "972-468-9750",
            "is_primary": false
          }