{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rezdy/json-schema/rezdy-product-schema.json",
  "title": "Product",
  "description": "Product object. Holds general details and settings of a specific tour, activity or event.",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rezdy-webhooks-api-openapi.yml#/components/schemas/Product",
  "required": [
    "bookingMode",
    "confirmMode",
    "currency",
    "dateCreated",
    "name",
    "priceOptions",
    "productCode",
    "productType",
    "supplierId",
    "timezone"
  ],
  "type": "object",
  "properties": {
    "productType": {
      "type": "string",
      "description": "Type of this product",
      "enum": [
        "ACTIVITY",
        "DAYTOUR",
        "MULTIDAYTOUR",
        "PRIVATE_TOUR",
        "TICKET",
        "RENTAL",
        "CHARTER",
        "EVENT",
        "GIFT_CARD",
        "TRANSFER",
        "LESSON",
        "MERCHANDISE",
        "CUSTOM"
      ]
    },
    "name": {
      "type": "string",
      "description": "Product name "
    },
    "shortDescription": {
      "type": "string",
      "description": "Product description is between 15 and 240 characters "
    },
    "description": {
      "type": "string",
      "description": "Long product description, is between 100 and 15000 characters "
    },
    "productCode": {
      "type": "string",
      "description": "Rezdy-generated unique Product code. Used by agents and for API calls"
    },
    "internalCode": {
      "type": "string",
      "description": "Supplier-defined product code, used internally by the ther supplier"
    },
    "supplierId": {
      "type": "integer",
      "description": "Rezdy internal ID of the company supplying this product",
      "format": "int64"
    },
    "supplierAlias": {
      "type": "string",
      "description": "Alias of the company supplying this product. Company alias is a unique key and should be used to retrieve company details or in filters"
    },
    "supplierName": {
      "type": "string",
      "description": "Name of the company supplying this product"
    },
    "timezone": {
      "type": "string",
      "description": "Timezone used by this product and supplier. All Times must be converted to this timezone before being displayed to customers"
    },
    "advertisedPrice": {
      "type": "number",
      "description": "General price indication for this product. It represents a display price only, therefore it does not affect a real booking price, which is calculated based on the price options.",
      "format": "float"
    },
    "priceOptions": {
      "type": "array",
      "description": "List of price options belonging to this product. ",
      "items": {
        "$ref": "#/$defs/PriceOption"
      }
    },
    "currency": {
      "type": "string",
      "description": "Product prices Currency",
      "enum": [
        "AED",
        "ANG",
        "ARS",
        "AUD",
        "AWG",
        "AZN",
        "BGN",
        "BHD",
        "BOB",
        "BRL",
        "BYR",
        "CAD",
        "CHF",
        "CLP",
        "CNY",
        "COP",
        "CZK",
        "DKK",
        "EGP",
        "EUR",
        "FJD",
        "GBP",
        "GEL",
        "HKD",
        "HRK",
        "HUF",
        "IDR",
        "ILS",
        "INR",
        "ISK",
        "JOD",
        "JPY",
        "KES",
        "KRW",
        "KWD",
        "KZT",
        "LTL",
        "LVL",
        "MAD",
        "MKD",
        "MUR",
        "MXN",
        "MYR",
        "NGN",
        "NOK",
        "NZD",
        "PGK",
        "PHP",
        "OMR",
        "PEN",
        "PLN",
        "PYG",
        "QAR",
        "RON",
        "RSD",
        "RUB",
        "SAR",
        "SBD",
        "SEK",
        "SGD",
        "SRD",
        "SYP",
        "THB",
        "TOP",
        "TRY",
        "TWD",
        "UAH",
        "USD",
        "UYU",
        "VEF",
        "VUV",
        "WST",
        "XAF",
        "XOF",
        "XPF",
        "YER",
        "ZAR",
        "AFA",
        "ALL",
        "DZD",
        "AMD",
        "BSD",
        "BDT",
        "BBD",
        "BZD",
        "BMD",
        "BWP",
        "BND",
        "BIF",
        "KHR",
        "CVE",
        "KYD",
        "KMF",
        "BAM",
        "CRC",
        "CUP",
        "CYP",
        "DJF",
        "DOP",
        "XCD",
        "ECS",
        "SVC",
        "ERN",
        "EEK",
        "ETB",
        "FKP",
        "CDF",
        "GMD",
        "GHS",
        "GIP",
        "GTQ",
        "GNF",
        "GWP",
        "GYD",
        "HTG",
        "HNL",
        "IRR",
        "IQD",
        "JMD",
        "AOA",
        "KGS",
        "KIP",
        "LAK",
        "LBP",
        "LRD",
        "LYD",
        "LSL",
        "MOP",
        "MGF",
        "MGA",
        "MWK",
        "MVR",
        "MTL",
        "MRO",
        "MDL",
        "MNT",
        "MZM",
        "MMK",
        "NAD",
        "NPR",
        "NIO",
        "KPW",
        "PKR",
        "PAB",
        "RWF",
        "STD",
        "SCR",
        "SLL",
        "SKK",
        "SIT",
        "SOS",
        "LKR",
        "SHP",
        "SDD",
        "SZL",
        "TJS",
        "TZS",
        "TTD",
        "TND",
        "TMM",
        "UGX",
        "UZS",
        "VND",
        "YUM",
        "ZMK",
        "ZWD",
        "AFN",
        "MZN",
        "UYI",
        "ZMW",
        "GHC",
        "GGP",
        "IMP",
        "JEP",
        "TRL",
        "TVD",
        "BTC",
        "BTN",
        "BYN",
        "CLF",
        "CNH",
        "CUC",
        "MRU",
        "SDG",
        "SSP",
        "STN",
        "TMT",
        "XAG",
        "XAU",
        "XDR",
        "XPD",
        "XPT",
        "ZWL"
      ]
    },
    "unitLabel": {
      "type": "string",
      "description": "What a quantity for this product is. It can be people (I.e. participant, passenger, diver) or objects (Kayak, Helicopter, etc.)"
    },
    "unitLabelPlural": {
      "type": "string",
      "description": "Plural version of unitLabel "
    },
    "quantityRequired": {
      "type": "boolean",
      "description": "Does this product require a quantity to be booked? True for most products. Can be false if the supplier can only provide one quantity at any single time. (I.e. private charters)"
    },
    "quantityRequiredMin": {
      "type": "integer",
      "description": "Represent the min booking quantity for the product. It can be setup for a supplier product. For a successful booking of the product, the total number of participants (regardless of pricing options), per booking item in the booking request, have to be greater or equal than this value.",
      "format": "int32"
    },
    "quantityRequiredMax": {
      "type": "integer",
      "description": "Represent the max booking quantity for the product. It can be setup for a supplier product. For a successful booking of the product, the total number of participants (regardless of pricing options), per booking item in the booking request, have to be lesser or equal than this value.",
      "format": "int32"
    },
    "images": {
      "type": "array",
      "description": "List of images showcasing this product",
      "items": {
        "$ref": "#/$defs/Image"
      }
    },
    "videos": {
      "type": "array",
      "description": "<p>List of videos showcasing this product <br/>Videos will only be returned when a single product is loaded.</p>",
      "items": {
        "$ref": "#/$defs/Video"
      }
    },
    "bookingMode": {
      "type": "string",
      "description": "Booking mode. Determines if this product needs availability or can be booked for any date.",
      "enum": [
        "NO_DATE",
        "DATE_ENQUIRY",
        "INVENTORY"
      ]
    },
    "charter": {
      "type": "boolean",
      "description": "A charter product means each session can only have a single booking, whatever the number of seats booked.  "
    },
    "terms": {
      "type": "string",
      "description": "Specific terms and conditions for this product"
    },
    "generalTerms": {
      "type": "string",
      "description": "General terms and conditions for all products from this supplier"
    },
    "extras": {
      "type": "array",
      "description": "List of extras that can be booked with this product",
      "items": {
        "$ref": "#/$defs/Extra"
      }
    },
    "bookingFields": {
      "type": "array",
      "description": "List of booking fields required for this product",
      "items": {
        "$ref": "#/$defs/BookingField"
      }
    },
    "xeroAccount": {
      "type": "string",
      "description": "Supplier Xero account for this product"
    },
    "confirmMode": {
      "type": "string",
      "description": "Confirmation mode. Determines if bookings are automatically confirmed or it they are pending",
      "enum": [
        "MANUAL",
        "AUTOCONFIRM",
        "MANUAL_THEN_AUTO",
        "AUTO_THEN_MANUAL"
      ]
    },
    "confirmModeMinParticipants": {
      "type": "integer",
      "description": "If confirmMode is MANUAL_THEN_AUTO or AUTO_THEN_MANUAL, determines the minimum number of participants per booking to trigger the change",
      "format": "int32"
    },
    "agentPaymentType": {
      "type": "string",
      "description": "If you are an agent, payment rules setup by the supplier for you to book this product ",
      "enum": [
        "PAYOUTS",
        "FULL_AGENT",
        "DOWNPAYMENT",
        "FULL_SUPPLIER",
        "NONE"
      ]
    },
    "maxCommissionPercent": {
      "type": "number",
      "description": "Maximum commission % you can receive as an agent, when the supplier setup a percentage (Automated payments Rezdy fee is not included in the amount)",
      "format": "float"
    },
    "maxCommissionNetRate": {
      "type": "number",
      "description": "Maximum commission amount you can receive as an agent, when the supplier setup a net rate (Automated payments Rezdy fee is not included in the amount)",
      "format": "float"
    },
    "commissionIncludesExtras": {
      "type": "boolean",
      "description": "True if agent receive commission from extras, false otherwise."
    },
    "cancellationPolicyDays": {
      "type": "integer",
      "description": " Supplier's Cancellation policy. Number of days before the tour a cancellation is allowed with full refund.<br>This is only used for automated payments (PAYOUTS) bookings",
      "format": "int32"
    },
    "dateCreated": {
      "type": "string",
      "description": "The product creation date",
      "format": "date-time"
    },
    "minimumNoticeMinutes": {
      "type": "integer",
      "description": "* Minimum book ahead internal before session start time in minutes.",
      "format": "int64"
    },
    "durationMinutes": {
      "type": "integer",
      "description": "* Duration of the product in minutes. ",
      "format": "int64"
    },
    "dateUpdated": {
      "type": "string",
      "description": "* The date of the last product update",
      "format": "date-time"
    },
    "pickupId": {
      "type": "integer",
      "description": "* If pickups are configured for this product, the field will contain the id of the pickup location list created by the supplier.",
      "format": "int64"
    },
    "locationAddress": {
      "$ref": "#/$defs/Address"
    },
    "additionalInformation": {
      "type": "string",
      "description": "Additional information for the product, that should be sent after a booking is completed (i.e. by email) to the customer. Useful for integration, when manual control of the entire customer booking experience is wanted, and the automatic confirmation e-mail from Rezdy had been suppressed.  "
    },
    "languages": {
      "uniqueItems": true,
      "type": "array",
      "description": "List of product languages. The format of the language is ISO 639 two-letter code with BCP 47 language variants, separated by underscore e.g. en_au.",
      "items": {
        "type": "string",
        "description": "List of product languages. The format of the language is ISO 639 two-letter code with BCP 47 language variants, separated by underscore e.g. en_au."
      }
    },
    "tags": {
      "uniqueItems": true,
      "type": "array",
      "description": "List of tags related to the product. The format is [TAG_TYPE]:[TAG_VALUE] e.g. TYPE:ACTIVITY, CATEGORY:ABSEILING, INTENSITY:RELAXED, ACCESSIBILITY:VISION_IMPAIRED",
      "items": {
        "type": "string",
        "description": "List of tags related to the product. The format is [TAG_TYPE]:[TAG_VALUE] e.g. TYPE:ACTIVITY, CATEGORY:ABSEILING, INTENSITY:RELAXED, ACCESSIBILITY:VISION_IMPAIRED"
      }
    },
    "productSeoTags": {
      "type": "array",
      "description": "This will store product meta data such as title and description",
      "items": {
        "$ref": "#/$defs/ProductSeoTag"
      }
    },
    "waitListingEnabled": {
      "type": "boolean",
      "description": "Signifies that customers will still be able to book this product even when there is not enough availability. Orders will have \"On Hold\" status, and no payment will be processed"
    },
    "qrCodeType": {
      "type": "string",
      "description": "Specifies the method how QR Codes will be generated for this product. Valid types are:<br><li>INTERNAL: QR Codes will be generated by rezdy for each participant when an order is created for this product</li><li>EXTERNAL: QR Codes will be randomly taken from a list of imported QR Codes</li><p>If nothing is specified, then no QR Codes will be generated when an order is created for this product",
      "enum": [
        "INTERNAL",
        "EXTERNAL"
      ]
    },
    "barcodeOutputType": {
      "type": "string",
      "description": "Specifies how to output the barcodes when this product is booked. Valid types are:<br><li>PARTICIPANT: Barcodes will be generated by rezdy for each participant when an booking is created for this product</li><li>ORDER: Barcodes will be generated by rezdy per booking</li>",
      "enum": [
        "PARTICIPANT",
        "ORDER"
      ]
    },
    "bookingUrl": {
      "type": "string",
      "description": "The URL for booking this product."
    },
    "apiBookingSupported": {
      "type": "boolean"
    },
    "multiProductBookingSupported": {
      "type": "boolean"
    }
  },
  "$defs": {
    "Address": {
      "type": "object",
      "properties": {
        "addressLine": {
          "type": "string",
          "description": "Address line "
        },
        "addressLine2": {
          "type": "string",
          "description": "Address line 2"
        },
        "postCode": {
          "type": "string",
          "description": "Post Code"
        },
        "city": {
          "type": "string",
          "description": "City name"
        },
        "state": {
          "type": "string",
          "description": "State name"
        },
        "countryCode": {
          "type": "string",
          "description": "Country code"
        },
        "latitude": {
          "type": "number",
          "description": "Geolocation - latitude",
          "format": "double"
        },
        "longitude": {
          "type": "number",
          "description": "Geolocation - longitude",
          "format": "double"
        }
      },
      "description": "Address of a company, customer or product location."
    },
    "BookingField": {
      "required": [
        "label"
      ],
      "type": "object",
      "properties": {
        "label": {
          "type": "string",
          "description": "Field label that can be shown to customers"
        },
        "value": {
          "type": "string",
          "description": "Value entered by the customer for this field"
        },
        "requiredPerParticipant": {
          "type": "boolean",
          "writeOnly": true
        },
        "requiredPerBooking": {
          "type": "boolean",
          "writeOnly": true
        },
        "visiblePerParticipant": {
          "type": "boolean",
          "writeOnly": true
        },
        "visiblePerBooking": {
          "type": "boolean",
          "writeOnly": true
        },
        "listOptions": {
          "type": "string",
          "description": "If this field only allows limited values to be selected from a list, they'll be included in this string, separated by \\r\\n"
        },
        "fieldType": {
          "type": "string",
          "description": "Booking field type which determines its format. See <a href=\"/guides/API%20Related%20Articles/Booking%20Fields%20Format\">Booking Fields Format</a>",
          "enum": [
            "String",
            "List",
            "Boolean",
            "Phone",
            "Date",
            "Hidden"
          ]
        }
      },
      "description": "List of custom fields that are \"once per booking\" and related to the all products in this booking "
    },
    "Extra": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "ID of the extra",
          "format": "int64"
        },
        "name": {
          "type": "string",
          "description": "Name of the extra"
        },
        "description": {
          "type": "string",
          "description": "Description of the extra"
        },
        "price": {
          "type": "number",
          "description": "Price for a single quantity of this extra",
          "format": "float"
        },
        "extraPriceType": {
          "type": "string",
          "description": "Price type for this extra. Defines what quantities are allowed and how their price is calculated",
          "enum": [
            "ANY",
            "FIXED",
            "QUANTITY"
          ]
        },
        "quantity": {
          "type": "integer",
          "description": "Quantity booked",
          "format": "int32"
        },
        "image": {
          "$ref": "#/$defs/Image"
        }
      },
      "description": "Optional service or item that can be purchased when booking a specific product"
    },
    "Image": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Id of the image. Can be used for DELETE /{productCode}/image/{mediaId} service",
          "format": "int64"
        },
        "itemUrl": {
          "type": "string",
          "description": "Full size image link"
        },
        "thumbnailUrl": {
          "type": "string",
          "description": "Thumbnail image link (240px)"
        },
        "mediumSizeUrl": {
          "type": "string",
          "description": "Medium size image link (480px)"
        },
        "largeSizeUrl": {
          "type": "string",
          "description": "Large size image link (1280px)"
        }
      },
      "description": "Image links."
    },
    "PriceOption": {
      "required": [
        "label",
        "price"
      ],
      "type": "object",
      "properties": {
        "price": {
          "type": "number",
          "description": "Price amount (I.e. \"200.00\")",
          "format": "float"
        },
        "label": {
          "type": "string",
          "description": "Label for this price (I.e. \"Adult\", \"Child\")"
        },
        "minQuantity": {
          "type": "integer",
          "description": "Min booking quantity for the product price option. Can be specified, if the price option is fixed or a group type. For a successful booking of the product, the number of participants for this price option have to be greater or equal than this value.",
          "format": "int32"
        },
        "maxQuantity": {
          "type": "integer",
          "description": "Max booking quantity for the product price option. Can be specified, if the price option is fixed or a grouptype. For a successful booking of the product, the number of participants for this price option have to be lesser or equal than this value.",
          "format": "int32"
        },
        "priceGroupType": {
          "type": "string",
          "description": "If this price is for a group, is the price for the whole group (TOTAL) or per quantity (EACH)",
          "enum": [
            "EACH",
            "TOTAL"
          ]
        },
        "productCode": {
          "type": "string",
          "description": "Product code to which the price options belongs to. Since Rezdy introduced shared availability option for products, the product sessions can contain price overrides for all of the products, which share the sessions. Therefore it is necessary to filer only the price options matching the chosen product code on the client side, when processing /availability service responses."
        },
        "seatsUsed": {
          "type": "integer",
          "description": "How many seats one quantity of this price willuse. Used for availability calculations. For example 1 quantity of \"Family of 4\" will use 4 seats.",
          "format": "int32"
        }
      },
      "description": "A Price Option belongs to a product or products session. It holds the price details for a specific price type.Products can have one or many price options (I.e. Adult, Child, Family, etc.)"
    },
    "ProductSeoTag": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "ID of Tag",
          "format": "int64"
        },
        "metaType": {
          "type": "string",
          "description": "Type of Tag",
          "enum": [
            "META_NAME",
            "META_PROPERTY",
            "LINK_REL",
            "TITLE",
            "NOINDEX",
            "REL_CANONICAL"
          ]
        },
        "attrKey": {
          "type": "string",
          "description": "Value to put in the \"key\" attribute (depending on type it could be name, property or rel)"
        },
        "attrValue": {
          "type": "string",
          "description": "Value to put in the \"value\" attribute (depending on type it could be content or href)"
        },
        "productCode": {
          "type": "string",
          "description": "Product's code this seo tag belongs to"
        }
      },
      "description": "Product Seo tags."
    },
    "Video": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "video id"
        },
        "platform": {
          "type": "string",
          "description": "Video platform (youtube, vimeo, etc …)"
        },
        "url": {
          "type": "string",
          "description": "Video url"
        }
      },
      "description": "Video links."
    }
  }
}