Tock · JSON Structure

Reservation Purchased Option Structure

tockPurchasedOption schema from Tock Reservation Model

Type: object Properties: 4
HospitalityReservationsRestaurantsWineriesTicketed EventsTakeoutDeliveryExperiencesDiningAmerican Express

tockPurchasedOption is a JSON Structure definition published by Tock, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id name amountCents posSku

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tock/refs/heads/main/json-structure/reservation-purchased-option-structure.json",
  "name": "tockPurchasedOption",
  "description": "tockPurchasedOption schema from Tock Reservation Model",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uint64",
      "description": "A unique identifier for the option. Used internally by Tock."
    },
    "name": {
      "type": "string",
      "description": "The name assigned in the Tock Dashboard to this optional item."
    },
    "amountCents": {
      "type": "string",
      "format": "uint64",
      "description": "The amount added to the total price for just this one option purchased along with the experience."
    },
    "posSku": {
      "type": "string",
      "description": "If assigned by the business from the Tock Dashboard, this field will be the SKU denoting the option."
    }
  }
}