# Check availability and price for a single date

Checks the real-time availability and price for a specific `product-type` on a single given `date`.
> It is highly recommended to use this endpoint to confirm availability before proceeding with a booking.

Endpoint: GET /v2/product-types/{uuid}/price-lists/{date}
Version: 2.1
Security: BearerAuth, Authorization

## Security:

  - `BearerAuth` (unknown)
    http bearer BMG Access Token

  - `Authorization` (unknown)
    apiKey in header X-Authorization

## Path parameters:

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

  - `date` (string, required)
    Date YYYY-MM-DD

## Response 200:

  - `200` (unknown)
    A successful response containing availability and pricing for a specific date

## Response 200 fields (application/json):

  - `data` (object)
    Availability and Price For Specified Date

  - `data.availability` (array | null)
    For all-day products, this contains the daily number of tickets available. For timeslot products, this will be null, and availability is found within each timeslot.

  - `data.availability.category` (string)
    Example: adult

  - `data.availability.quantity` (integer)
    Example: 117

  - `data.availability.type` (string)
    Example: shared

  - `data.date` (string)
    travel date

  - `data.weekday` (string)
    weekday of travel

  - `data.currency` (string)
    currency UUID

  - `data.cancellationPolicy` (array)
    Cancellation policy for the product type.

  - `data.prices` (array)
    An array of price configurations. Different timeslots can be linked to a specific price configuration using the priceId.

  - `data.prices.id` (string)
    Example: cb57b5c6-376c-47f5-ad09-606d6850f5e1

  - `data.prices.rates` (array)

  - `data.prices.rates.amount` (number)
    Example: 98

  - `data.prices.rates.category` (string)
    Example: adult

  - `data.prices.rates.currency` (string)
    Example: SGD

  - `data.prices.rates.format` (string)
    Example: S$98.00

  - `data.prices.rates.meta` (any)
    Example: {"markup":16.8639}

  - `data.prices.rates.type` (string)

  - `data.timeslots` (array)
    Timeslot availability for the travel day. Will be null for all-day products.

  - `data.timeslots.startTime` (string)
    Example: 08:00

  - `data.timeslots.endTime` (string)
    Example: 08:00

  - `data.timeslots.uuid` (string)

  - `data.timeslots.priceId` (string)
    Links to a specific price object in the top-level prices array.

  - `data.timeslots.availability` (array)

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

  - `data.options` (array)
    booking options for product type for travel date, containing two arrays: perBooking (one option per booking) and perPax (one option for each pax)

  - `data.voucherValidity` (object)
    voucher validity for travel date, object containing validity for different ticket types

## Response 401:

  - `401` (unknown)
    Not Authorized

## Response 401 fields (application/json):

  - `message` (string)
    A human-readable error message.

  - `code` (string)
    An internal error code.

  - `http_code` (integer)
    Http Status Code

## Response 404:

  - `404` (unknown)
    The requested resource(s) could not be found

## Response 404 fields (application/json):

  - `message` (string)
    A human-readable error message.

  - `code` (string)
    An internal error code.

  - `http_code` (integer)
    Http Status Code

## Response 405:

  - `405` (unknown)
    HTTP Method Not Allowed

## Response 405 fields (application/json):

  - `message` (string)
    A human-readable error message.

  - `code` (string)
    An internal error code.

  - `http_code` (integer)
    Http Status Code

## Response 422:

  - `422` (unknown)
    Request could not be processed

## Response 422 fields (application/json):

  - `message` (string)
    A human-readable error message.

  - `code` (string)
    An internal error code.

  - `http_code` (integer)
    Http Status Code

## Response 200 examples:

  - `Success` (unknown)

## Response 401 examples:

  - `MethodNotAllowed` (unknown)

## Response 404 examples:

  - `NotFound` (unknown)

## Response 405 examples:

  - `MethodNotAllowed` (unknown)

## Response 422 examples:

  - `Unprocessable` (unknown)

