> ## 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.

# Claim Promoted Waitlist Spot

> Claim a promoted waitlist spot, reserving the tickets for checkout. The entry must be in a claimable (promoted, unexpired) state. If an email is supplied it must match the entry's email. Returns checkout data with a short reservation window.



## OpenAPI

````yaml /api-reference/openapi.json post /events/{product}/waitlist/{entry}/claim
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/{product}/waitlist/{entry}/claim:
    parameters:
      - name: product
        in: path
        required: true
        description: The unique identifier of the event product.
        schema:
          type: string
          format: uuid
        example: 3f1c9d20-5b8e-4c11-a2d7-6e9f0a1b2c3d
      - name: entry
        in: path
        required: true
        description: The unique identifier of the waitlist entry.
        schema:
          type: string
          format: uuid
        example: 1a2b3c4d-5e6f-4071-8a9b-0c1d2e3f4a5b
    post:
      tags:
        - Events
      summary: Claim Promoted Waitlist Spot
      description: >-
        Claim a promoted waitlist spot, reserving the tickets for checkout. The
        entry must be in a claimable (promoted, unexpired) state. If an email is
        supplied it must match the entry's email. Returns checkout data with a
        short reservation window.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  format: email
                  description: Optional email to verify ownership of the entry.
            example:
              email: alex@example.com
      responses:
        '200':
          description: The spot was reserved for checkout.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  checkout:
                    $ref: '#/components/schemas/WaitlistCheckout'
              example:
                success: true
                message: Waitlist spot reserved for checkout
                checkout:
                  productId: 3f1c9d20-5b8e-4c11-a2d7-6e9f0a1b2c3d
                  quantity: 2
                  email: alex@example.com
                  name: Alex Rivera
                  waitlistEntryId: 1a2b3c4d-5e6f-4071-8a9b-0c1d2e3f4a5b
                  reservedUntil: '2026-08-10T18:15:00Z'
        '404':
          description: Product or waitlist entry not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                message: No query results for model [EventWaitlistEntry].
components:
  schemas:
    WaitlistCheckout:
      type: object
      description: Checkout data returned when a promoted waitlist spot is claimed.
      properties:
        productId:
          type: string
          format: uuid
          description: The identifier of the event product.
        quantity:
          type: integer
          description: The number of tickets reserved.
        email:
          type: string
          format: email
          description: The customer's email address.
        name:
          type: string
          description: The customer's name.
        waitlistEntryId:
          type: string
          format: uuid
          description: The identifier of the waitlist entry.
        reservedUntil:
          type: string
          format: date-time
          description: When the reservation expires (15 minutes after claiming).
    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

````