> ## 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 Occurrence Availability

> Check ticket availability for a specific occurrence of a recurring event, including tickets sold and remaining, capacity, waitlist status, and the occurrence date.



## OpenAPI

````yaml /api-reference/openapi.json get /events/occurrences/{occurrence}/availability
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/occurrences/{occurrence}/availability:
    parameters:
      - name: occurrence
        in: path
        required: true
        description: The unique identifier of the event occurrence.
        schema:
          type: string
          format: uuid
        example: 9a2b3c4d-5e6f-4071-8a9b-0c1d2e3f4a5b
    get:
      tags:
        - Events
      summary: Check Occurrence Availability
      description: >-
        Check ticket availability for a specific occurrence of a recurring
        event, including tickets sold and remaining, capacity, waitlist status,
        and the occurrence date.
      parameters: []
      responses:
        '200':
          description: Availability details for the occurrence.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OccurrenceAvailability'
              example:
                available: true
                ticketsAvailable: 42
                ticketsSold: 58
                maxTickets: 100
                waitlistEnabled: true
                occurrenceDate: '2026-08-15'
                status: active
        '404':
          description: Occurrence not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                message: No query results for model [EventOccurrence].
components:
  schemas:
    OccurrenceAvailability:
      type: object
      description: Ticket availability for a specific event occurrence.
      properties:
        available:
          type: boolean
          description: Whether tickets are currently available.
        ticketsAvailable:
          type: integer
          description: The number of tickets available.
        ticketsSold:
          type: integer
          description: The number of tickets sold.
        maxTickets:
          type: integer
          nullable: true
          description: The maximum ticket capacity.
        waitlistEnabled:
          type: boolean
          description: Whether the waitlist is enabled for the event.
        occurrenceDate:
          type: string
          format: date
          description: The occurrence date (YYYY-MM-DD).
        status:
          type: string
          enum:
            - active
            - cancelled
            - postponed
          description: The occurrence status.
    Error:
      type: object
      properties:
        message:
          type: string
          description: Error message
      required:
        - message
  securitySchemes:
    tenantAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your API token.
      bearerFormat: JWT

````