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

# Availability by Date

> Returns all bookable slots for the given variation on `date`, with prices converted to the requested `currency`
(default SAR). `date` must be `YYYY-MM-DD`. When `guests` is set, only slots that can accommodate that many guests are returned.




## OpenAPI

````yaml GET /activities/{id}/variations/{varId}/availability
openapi: 3.0.0
info:
  title: Seyaha Reseller API
  description: API endpoints for reseller operations
  version: 1.0.0
servers:
  - url: /api/v1/resellers
    description: Reseller API base URL
security: []
paths:
  /activities/{id}/variations/{varId}/availability:
    get:
      tags:
        - Reseller Activities
      summary: Availability for a specific date
      description: >
        Returns all bookable slots for the given variation on `date`, with
        prices converted to the requested `currency`

        (default SAR). `date` must be `YYYY-MM-DD`. When `guests` is set, only
        slots that can accommodate that many guests are returned.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: varId
          in: path
          required: true
          schema:
            type: string
        - name: date
          in: query
          required: true
          schema:
            type: string
            format: date
            pattern: ^\d{4}-\d{2}-\d{2}$
            example: '2026-04-15'
        - name: currency
          in: query
          schema:
            type: string
            example: SAR
          description: Defaults to SAR when omitted.
        - name: guests
          in: query
          schema:
            type: integer
            minimum: 1
            example: 2
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: integer
                    example: 1
                  data:
                    $ref: '#/components/schemas/AvailabilityForDatePayload'
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimitExceeded'
        '500':
          $ref: '#/components/responses/ServerError'
      security:
        - apiToken: []
components:
  schemas:
    AvailabilityForDatePayload:
      type: object
      properties:
        date:
          type: string
          example: '2026-04-15'
        variation_id:
          type: string
        slots:
          type: array
          items:
            $ref: '#/components/schemas/AvailabilitySlot'
    AvailabilitySlot:
      type: object
      properties:
        slot_id:
          type: string
        time:
          type: string
          example: '10:00'
        status:
          type: string
          enum:
            - AVAILABLE
            - FREESALE
            - LIMITED
            - SOLD_OUT
            - CLOSED
        vacancies:
          type: integer
        capacity:
          type: integer
        max_booking:
          type: integer
        discount_percentage:
          type: number
        availability_id:
          type: string
          nullable: true
        group_price:
          type: number
          nullable: true
        pricing:
          type: array
          description: >-
            Unit prices in the requested currency; empty when `group_price` is
            used.
          items:
            type: object
            properties:
              type:
                type: string
              label:
                type: string
              price:
                type: number
  responses:
    ValidationError:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: integer
                example: 0
              error:
                type: array
                items:
                  type: string
                example:
                  - validation error details
              message:
                type: string
                example: Validation Error
              code:
                type: integer
                example: 400
    Unauthorized:
      description: Unauthorized access
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: integer
                example: 0
              error:
                type: array
                items:
                  type: string
                example:
                  - unauthorized access
              message:
                type: string
                example: unauthorized access
              code:
                type: integer
                example: 401
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: integer
                example: 0
              error:
                type: array
                items:
                  type: string
                example:
                  - resource not found
              message:
                type: string
                example: resource not found
              code:
                type: integer
                example: 404
    RateLimitExceeded:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: integer
                example: 0
              error:
                type: array
                items:
                  type: string
                example:
                  - rate limit exceeded
              message:
                type: string
                example: rate limit exceeded
              code:
                type: integer
                example: 429
    ServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: integer
                example: 0
              error:
                type: array
                items:
                  type: string
                example:
                  - unexpected error
              message:
                type: string
                example: unexpected error
              code:
                type: integer
                example: 500
  securitySchemes:
    apiToken:
      type: apiKey
      in: header
      name: x-api-token

````