# ProductType

Schema: #/components/schemas/ProductType

Method: SCHEMA
Version: 2.1
Security: BearerAuth, Authorization

## Schema fields:

  - `uuid` (string)
    UUID of product-type

  - `title` (string)
    Title of product type, always in English

  - `titleTranslated` (string)
    Title of product type translated on requested language

  - `description` (string)
    Description of product type, always in English

  - `descriptionTranslated` (string)
    Description of product translated on requested language

  - `durationDays` (integer)
    Duration of activity in days

  - `durationHours` (integer)
    Duration of activity in hours

  - `durationMinutes` (integer)
    Duration of activity in minutes

  - `daysInAdvance` (integer | null)
    How many days in advance booking can be made. NULL if not applicable

  - `cutOffTime` (string | null)
    Booking can't be made after this time. NULL if not applicable

  - `firstAvailabilityDate` (string)
    First date that is available for booking. 'False' if there is no availability date **Use calendar endpoint to check availability**

  - `isNonRefundable` (boolean)
    Product type non-refundable true/false

  - `allowAdults` (boolean)
    Is an adult allowed to book this product type true/false. **Use the ticketTypes object for this information**

  - `minPax` (integer | null)
    Minimum number of adults. NULL if not applicable. **Use the ticketTypes object for this information**

  - `maxPax` (integer | null)
    Maximum number of adults. NULL if not applicable. **Use the ticketTypes object for this information**

  - `minAdultAge` (integer | null)
    Minimum age allowed for an adult. NULL if not applicable. **Use the ticketTypes object for this information**

  - `maxAdultAge` (integer | null)
    Maximum age allowed for an adult. NULL if not applicable. **Use the ticketTypes object for this information**

  - `hasChildPrice` (boolean)
    Does product has child price

  - `allowChildren` (boolean)
    Is a child allowed to book this product type

  - `minChildren` (integer | null)
    Minimum number of children or null when not allowed. NULL if not applicable. **Use the ticketTypes object for this information**

  - `maxChildren` (integer | null)
    Maximum number of children or null when not allowed. NULL if not applicable. **Use the ticketTypes object for this information**

  - `minChildAge` (integer | null)
    Minimum age allowed for a child. NULL if not applicable. **Use the ticketTypes object for this information**

  - `maxChildAge` (integer | null)
    Maximum age allowed for a child. NULL if not applicable. **Use the ticketTypes object for this information**

  - `allowSeniors` (boolean)
    Is a senior allowed to book this product type. **Use the ticketTypes object for this information**

  - `minSeniors` (integer | null)
    Minimum number of seniors. NULL if not applicable. **Use the ticketTypes object for this information**

  - `maxSeniors` (integer | null)
    Maximum number of senior. NULL if not applicable. **Use the ticketTypes object for this information**

  - `minSeniorAge` (integer | null)
    Minimum age allowed for a senior. NULL if not applicable. **Use the ticketTypes object for this information**

  - `maxSeniorAge` (integer | null)
    Maximum age allowed for a senior. NULL if not applicable. **Use the ticketTypes object for this information**

  - `allowInfant` (boolean)
    Is an infant allowed for this product type (there is no pricing for infants!)

  - `minInfantAge` (integer | null)
    Minimum age allowed for an infant

  - `maxInfantAge` (integer | null)
    Maximum age allowed for an infant

  - `maxGroup` (integer | null)
    Maximum number of group: sum of adults, children and senior or null when not applicable

  - `minGroup` (integer | null)
    Minimum number of group: sum of adults, children and senior or null when not applicable

  - `instantConfirmation` (boolean)
    TRUE then confirmed booking this product should return new Booking status = approved, but if we're out of stock of e-tickets it can still return a 'Waiting' status

  - `nonInstantVoucher` (boolean)
    TRUE = voucher needs manual processing

  - `directAdmission` (boolean)
    TRUE, the voucher allows direct admission, otherwise customer needs to redeem vouchers. Information about voucher redemption is showed in voucherUse and voucherRedemptionAddress

  - `voucherUse` (string | null)
    Instruction on how to use the voucher

  - `voucherUseTranslated` (string | null)
    voucherUser translated on request language

  - `voucherRedemptionAddress` (string | null)
    Voucher redemption address if client needs to redeem a voucher.

  - `voucherRedemptionAddressTranslated` (string | null)
    voucherRedemptionAddress translated on requested language.

  - `voucherRequiresPrinting` (boolean)
    TRUE voucher needs to be printed. Otherwise, it can be presented eg. on mobile device

  - `meetingTime` (string | null)
    Meeting time

  - `meetingAddress` (string | null)
    Meeting location address

  - `meetingLocation` (string | null)
    Instructions about meeting location

  - `meetingLocationTranslated` (string | null)
    Translated version of meetingLocation on requested language

  - `cancellationPolicies` (array)
    Cancellation Policies only applicable for refundable product

  - `cancellationPolicySummary` (string | null)
    Summary of Cancellation Policies for refundable product

  - `recommendedMarkup` (number | null)
    Recommended markup to adult prices if you want to match with BMG's recommended prices (RRP). Null if not applicable. **Use either the calendar endpoint or price-list endpoint to check pricing**

  - `childRecommendedMarkup` (number | null)
    Recommended markup for child prices if you want to match with BMG's recommended prices (RRP). Null if not applicable. **Use either the calendar endpoint or price-list endpoint to check pricing**

  - `seniorRecommendedMarkup` (number | null)
    Recommended markup for senior prices if you want to match with BMG's recommended prices (RRP). Null if not applicable. **Use either the calendar endpoint or price-list endpoint to check pricing**

  - `adultParityPrice` (number | null)
    Minimal retail price for adult. Null if not applicable. **Use either the calendar endpoint or price-list endpoint to check pricing**

  - `childParityPrice` (number | null)
    Minimal retail price for child. Null if not applicable. **Use either the calendar endpoint or price-list endpoint to check pricing**

  - `seniorParityPrice` (number | null)
    Minimal retail price for senior. Null if not applicable. **Use either the calendar endpoint or price-list endpoint to check pricing**

  - `adultGateRatePrice` (number | null)
    The rate that an adult get directly at the attraction website or gate. Null if not applicable. **Use either the calendar endpoint or price-list endpoint to check pricing**

  - `childGateRatePrice` (number | null)
    The rate that a child get directly at the attraction website or gate. Null if not applicable. **Use either the calendar endpoint or price-list endpoint to check pricing**

  - `seniorGateRatePrice` (number | null)
    The rate that a senior get directly at the attraction website or gate. Null if not applicable. **Use either the calendar endpoint or price-list endpoint to check pricing**

  - `ticketTypes` (array)
    List of all ticket types for this product type

  - `ticketTypes.type` (string, required)

  - `ticketTypes.label` (string, required)

  - `ticketTypes.allowed` (boolean, required)

  - `ticketTypes.min` (integer, required)

  - `ticketTypes.max` (integer, required)

  - `ticketTypes.minAge` (integer, required)

  - `ticketTypes.maxAge` (integer, required)

  - `ticketTypes.recommendedMarkup` (number, required)

  - `ticketTypes.parityPrice` (number, required)

  - `ticketTypes.gateRatePrice` (integer, required)

  - `validity` (object)
    Four validity types of the e-tickets/vouchers currently available:

  - `timeslots` (array)
    Available timeslots for product, might be null. If the ProductType has timeslots, the timeslotUUID of the product is REQUIRED in Check a Booking and Create a new booking methods

  - `timezone` (string)
    Timezone of the product type

  - `options` (object)

  - `options.perBooking` (array)
    Options per booking array

  - `options.perBooking.uuid` (string, required)

  - `options.perBooking.name` (string, required)

  - `options.perBooking.nameTranslated` (string, required)

  - `options.perBooking.description` (string, required)

  - `options.perBooking.descriptionTranslated` (string, required)

  - `options.perBooking.required` (boolean, required)

  - `options.perBooking.addOn` (boolean, required)

  - `options.perBooking.formatRegex` (string, required)

  - `options.perBooking.inputType` (integer, required)

  - `options.perBooking.minNumber` (integer, required)

  - `options.perBooking.maxNumber` (integer, required)

  - `options.perBooking.validFrom` (string, required)

  - `options.perBooking.validTo` (string, required)

  - `options.perPax` (array)
    Options that are required/available for each person on the booking

  - `hasOptions` (boolean)
    true/false, indicate whether product type has booking options.

  - `hasFileUploadOptions` (boolean)
    true/false, indicate whether product type has booking option that require file upload

  - `hasPriceOptions` (boolean)
    true/false, indicate whether product type has booking option which has a price.

  - `hasRequiredPriceOptions` (boolean)
    true/false, indicate whether product type has booking option which has a price and required is TRUE

  - `isBmgVoucher` (boolean)
    true/false, indicate whether product type using BMG own voucher code

  - `isSrvEligible` (boolean)
    true/false. indicate whether this product type is available for Singapore Rediscover Vouchers Promo.

