HomeGuidesRecipesAPI ReferenceChangelog
GuidesAPI ReferenceHelp CenterLog In

Introduction

Demographics (or ticket types) allow for segmenting of guests for an experience. It also lets you adjust the base price of an experience to be customized for each demographic.

There are 2 types of demographics:

  • Seller: Defined at the account level. Any experience-level demographic must extend from a seller-level demographic.
  • Experience: Defined at the experience level. These are the demographics that travelers/reservationists see and are the demographics used in orders.
{
  "all": false,
  "caption": "under 5 years",
  "createdAt": "2017-08-17T10:32:06+00:00",
  "createdBy": {
    "id": "4f293e17536e86bc66000000"
  },
  "discount": {
    "amount": 10,
    "amountType": "absolute"
  },
  "experience": {
    "id": "5817df4192670590158b4582"
  },
  "id": "599570a6b5672916438b45a9",
  "label": "Children",
  "labelCanonical": "children",
  "object": "experience_demographic",
  "overrideCaption": false,
  "parent": {
    "id": "597c4fe0c8f7b07d81544905"
  },
  "seller": {
    "id": "4f104661536e86b23d000000"
  },
  "updatedAt": "2018-01-29T12:31:14+00:00",
  "updatedBy": {
    "id": "4f293e17536e86bc66000000"
  }
}

Attribute

Type

Definition

all

boolean

Whether the demographic applies to all experiences. Only applicable for seller_demographic objects.

caption

string

Additional information about the demographic.

createdAt

timestamp

Time at which the demographic was created.

createdBy.id

id

User who created the demographic.

discount.amount

float

Discount on the experience price for the demographic. Only applicable for experience_demographic objects.

discount.amountType

string

How the discount is applied on the experience price. Currently only supports absolute.

experience.id

id

Experience the demographic belongs to. Only applicable for experience_demographic objects.

label

string

Title of the demographic.

labelCanonical

string

A system generated canonical representation of the label.

object

string

Type of the demographic. Either global_demographic, seller_demographic, or experience_demographic

overrideCaption

boolean

Whether to override the parent demographic's caption. Only applicable for experience_demographic objects.

parent.id

id

Demographic that this demographic inherits from. The parent is always a seller_demographic and the child is always an experience_demographic.

seller.id

id

Seller account that owns the demographic.

updatedAt

timestamp

Time at which the demographic was last updated.

updatedBy.id

id

User who last updated the demographic.