> ## Documentation Index
> Fetch the complete documentation index at: https://docs.marzipan.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Check Event Dates

> Check whether an event is available on a specific search date. For non-recurring events the search date is matched against the event's start date; for recurring events it is validated against the recurrence pattern. Returns the availability details along with the requested and scheduled dates.



## OpenAPI

````yaml /api-reference/openapi.json get /events/{event}/check-dates
openapi: 3.0.0
info:
  title: Marzipan API
  version: 1.0.0
servers:
  - url: https://api.marzipan.co/v1
security:
  - tenantAuth: []
tags:
  - name: Account
    description: >-
      Account management endpoints including registration, login, and user
      details
  - name: Carts
    description: Shopping cart management endpoints
  - name: Products
    description: Product catalog and search endpoints
  - name: Subscriptions
    description: Subscription management and renewal endpoints
  - name: CMS
    description: Content management system endpoints
  - name: Messaging
    description: Message and communication endpoints
  - name: Search
    description: Search functionality endpoints
  - name: Settings
    description: >-
      Storefront settings and market detection used to configure the web
      components and checkout.
  - name: Analytics
    description: Storefront visit and attribution tracking.
  - name: Rewards
    description: >-
      Loyalty and rewards programme endpoints for the authenticated customer,
      covering points balance, tier status, perks, exclusive products and
      transaction history.
  - name: Forms
    description: Render and submit dynamic storefront forms defined in the CMS.
  - name: Events
    description: >-
      Check event availability, browse occurrences and recurring dates, generate
      ticket QR codes, and manage event waitlists (join, leave, check status,
      and claim promoted spots).
paths:
  /events/{event}/check-dates:
    parameters:
      - name: event
        in: path
        required: true
        description: The unique identifier of the event.
        schema:
          type: string
          format: uuid
        example: b7a4c2e1-8f3d-4a6b-9c2e-1d5f7a8b3c4d
    get:
      tags:
        - Events
      summary: Check Event Dates
      description: >-
        Check whether an event is available on a specific search date. For
        non-recurring events the search date is matched against the event's
        start date; for recurring events it is validated against the recurrence
        pattern. Returns the availability details along with the requested and
        scheduled dates.
      parameters:
        - name: searchDate
          in: query
          required: true
          description: The date to check (YYYY-MM-DD).
          schema:
            type: string
            format: date
          example: '2026-08-15'
      responses:
        '200':
          description: Availability for the requested date.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/EventAvailability'
                  - type: object
                    properties:
                      searchDate:
                        type: string
                        format: date
                        description: The date that was searched.
                      eventDate:
                        type: string
                        format: date
                        description: The event's scheduled start date.
              example:
                available: true
                ticketsAvailable: 42
                waitlistEnabled: true
                waitlistCount: 3
                searchDate: '2026-08-15'
                eventDate: '2026-08-15'
        '404':
          description: Event not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                message: No query results for model [Event].
        '422':
          description: Validation error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
              example:
                message: The search date field is required.
                errors:
                  searchDate:
                    - The search date field is required.
components:
  schemas:
    EventAvailability:
      type: object
      description: Ticket availability for an event.
      properties:
        available:
          type: boolean
          description: Whether tickets are currently available.
        ticketsAvailable:
          type: integer
          description: The number of tickets available.
        waitlistEnabled:
          type: boolean
          description: Whether the waitlist is enabled for the event.
        waitlistCount:
          type: integer
          description: The number of entries currently on the waitlist.
        message:
          type: string
          description: >-
            An explanatory message, present when the event is unavailable or
            does not occur on the requested date.
    Error:
      type: object
      properties:
        message:
          type: string
          description: Error message
      required:
        - message
    ValidationError:
      type: object
      properties:
        message:
          type: string
          description: Validation error message
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Field-specific validation errors
      required:
        - message
        - errors
  securitySchemes:
    tenantAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your API token.
      bearerFormat: JWT

````