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

# List public booking options

> Returns locker spaces for the browser checkout widget.



## OpenAPI

````yaml /openapi.json get /api/public/locker-bookings/options
openapi: 3.1.0
info:
  title: UrbnBox integration API
  version: 1.0.0
  description: >-
    Create and track delivery orders, send parcels between pickup points, and
    connect Shopify.
servers:
  - url: https://portal.urbnbox.io
    description: UrbnBox production and test-key server
security: []
tags:
  - name: Shipments
    description: Quote, create, and retrieve pickup-point shipments.
  - name: Checkout sessions
    description: Hold lockers for partner checkout sessions.
  - name: Public bookings
    description: Create browser-based locker bookings.
  - name: Store discovery
    description: Find active UrbnBox stores.
  - name: Shopify
    description: Callbacks called by Shopify.
  - name: Vendor API
    description: >-
      Vendor-authenticated endpoints for delivery orders, pickup-point shipments
      and webhooks. All require an X-API-Key header with a vendor key.
paths:
  /api/public/locker-bookings/options:
    get:
      tags:
        - Public bookings
      summary: List public booking options
      description: Returns locker spaces for the browser checkout widget.
      operationId: listPublicBookingOptions
      responses:
        '200':
          description: Available spaces.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LockerSpace'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/ServerError'
      security:
        - publishableKey: []
components:
  schemas:
    LockerSpace:
      type: object
      description: The current Go API serializes this model with exported field names.
      properties:
        ID:
          type: string
        StoreID:
          type: string
        StoreName:
          type: string
        StoreLatitude:
          type:
            - number
            - 'null'
        StoreLongitude:
          type:
            - number
            - 'null'
        Type:
          type: string
        Code:
          type: string
        DailyRate:
          type: integer
          format: int64
        HourlyRate:
          type: integer
          format: int64
        IsActive:
          type: boolean
      required:
        - ID
        - StoreID
        - StoreName
        - Type
        - Code
        - DailyRate
        - HourlyRate
        - IsActive
  responses:
    Unauthorized:
      description: The credential is missing, invalid, or inactive.
      content:
        text/plain:
          schema:
            type: string
    ServerError:
      description: UrbnBox could not complete the request.
      content:
        text/plain:
          schema:
            type: string
  securitySchemes:
    publishableKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Publishable key restricted to allowed browser origins.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.