HomeGuidesRecipesAPI ReferenceChangelog
GuidesAPI ReferenceCustomer Help CenterLog In
API Reference

Introduction

Demographics (or ticket types) allow a seller to segment guests in an experience (for example adult/child or gold/silver/bronze), and allow the seller to adjust the base price of an experience for each specified type.

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"
  }
}
AttributeTypeDefinition
allbooleanWhether the demographic applies to all experiences. Only applicable for seller_demographic objects.
captionstringAdditional information about the demographic.
createdAttimestampTime at which the demographic was created.
createdBy.ididUser who created the demographic.
discount.amountfloatDiscount on the experience price for the demographic. Only applicable for experience_demographic objects.
discount.amountTypestringHow the discount is applied on the experience price. Currently only supports absolute.
experience.ididExperience the demographic belongs to. Only applicable for experience_demographic objects.
labelstringTitle of the demographic.
labelCanonicalstringA system generated canonical representation of the label.
objectstringType of the demographic. Either global_demographic, seller_demographic, or experience_demographic
overrideCaptionbooleanWhether to override the parent demographic's caption. Only applicable for experience_demographic objects.
parent.ididDemographic that this demographic inherits from. The parent is always a seller_demographic and the child is always an experience_demographic.
seller.ididSeller account that owns the demographic.
updatedAttimestampTime at which the demographic was last updated.
updatedBy.ididUser who last updated the demographic.