Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Attribute

Always present?

Data type

Description

ticket_group_id

Yes

integer

The ticket_group_id provided in the request

quantity

Yes

integer

The quantity provided in the request

tax_signature

Yes

string

Unique identifier for this tax quote. This should be passed as tax_signature when creating orders.

wholesale.price

Yes

float

The wholesale_price for the tickets in the ticket_group as calculated by TEvo.

wholesale.subtotal

Yes

float

The subtotal for the wholesale order

wholesale.tax

Yes

float

Amount of tax to be collected on the wholesale portion of the purchase.

wholesale.total

Yes

float

Final price after tax has been applied.

retail

No

object

The retail object will only be returned if a retail object was included in the request.

retail.price

Yes, if retail is included

float

The retail price of the tickets provided in the request

retail.shipping

Only if present in original request

float

The shipping amount if provided in the request

retail.service_fee

Only if present in original request

float

The service_fee if provided in the request

retail.additional_expense

Only if present in original request

float

The additional_expense if provided in the request

retail.discount

Only if present in original request

float

The discount if provided in the request

retail.subtotal

Yes, if retail is included

float

The subtotal of the retail portion of the purchase

retail.tax

Yes, if retail is included

float

The amount of tax that should be charged on the the retail portion of the purchase

retail.total

Yes, if retail is included

float

The summed total of values for the retail portion of the request

...

Request

Response

POST /v9/tax_quotes

Wholesale Only Request

Code Block
languagejson
{
  "ticket_group_id": 6,
  "quantity": 2,
}

Code Block
languagejson
{
  "ticket_group_id": 6,
  "quantity": 2,
  "tax_signature": "9166e5ac-c663-4236-ae8b-76eb890a0468",
  "wholesale": {
    "price": 132.5,
    "subtotal": 265,
    "tax": 23.5,
    "total": 288.5
  }
}

Wholesale and Retail Minimal Request

Code Block
languagejson
{
  "ticket_group_id": 6,
  "quantity": 2,
  "retail": {
    "price": 160
  }
}

Code Block
languagejson
{
  "ticket_group_id": 6,
  "quantity": 2,
  "tax_signature": "9166e5ac-c663-4236-ae8b-76eb890a0468",
  "wholesale": {
    "price": 132.5,
    "subtotal": 265,
    "tax": 23.5,
    "total": 288.5
  },
  "retail": {
    "price": 160,
    "subtotal": 341,
    "tax": 28.16,
    "total": 369.16
  }
}

Wholesale and Retail Full Request

Code Block
languagejson
{
  "ticket_group_id": 6,
  "quantity": 2,
  "retail": {
    "price": 160,
    "shipping": 15,
    "service_fee": 10,
    "additional_expense": 5,
    "discount": 9,
  }
}

Code Block
languagejson
{
  "ticket_group_id": 6,
  "quantity": 2,
  "tax_signature": "9166e5ac-c663-4236-ae8b-76eb890a0468",
  "wholesale": {
    "price": 132.5,
    "subtotal": 265,
    "tax": 23.5,
    "total": 288.5
  },
  "retail": {
    "price": 160,
    "shipping": 15,
    "service_fee": 10,
    "additional_expense": 5,
    "discount": 9,
    "subtotal": 341,
    "tax": 28.16,
    "total": 369.16
  }
}

...