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

# Get booking profile

> Whether a granted location accepts partner bookings right now, which provider serves it, the capability set its provider declares (hold release, venue verbs, time-window listing, live floor), and the hold TTL. Read this before calling any other bookings endpoint: `enabled: false` means the location is not bookable through the Developer API yet, and a `false` capability is what the matching verb answers with `capability_unsupported`. Requires `bookings:read`.



## OpenAPI

````yaml /openapi/developer-api.json get /locations/{locationId}/booking_profile
openapi: 3.1.0
info:
  title: Maple Developer API
  version: 0.0.1
  description: >-
    Public API for POS and platform partners to integrate with Maple: granted
    locations and connections, the order loop (validation, notification,
    accept/deny, status updates), payment-link visibility, menu publishing, and
    HMAC-signed webhooks. Authenticate every request with a Bearer API key
    (`mpk_test_…` / `mpk_live_…`). The credential determines the environment:
    test-mode credentials only see test data, live-mode credentials only see
    live data.
servers:
  - url: https://api.maple.inc/v1
    description: Production
  - url: https://api.staging.maple.inc/v1
    description: Sandbox (development and testing)
security: []
tags:
  - name: General
    description: Service status and credential introspection.
  - name: Locations
    description: The restaurant locations your app has been granted access to.
  - name: Connections
    description: Become (or stop being) a granted location’s order receiver.
  - name: Menu
    description: Publish and read a connected location’s menu.
  - name: Delivery zones
    description: >-
      Manage a connected location’s delivery zones and check whether a
      coordinate is deliverable.
  - name: Orders
    description: 'The order loop: read orders, submit validation results, and decide orders.'
  - name: Bookings
    description: >-
      Bookings (rolling out per location): a location’s booking profile,
      availability, holds, bookings, venue verbs, configuration, and live floor.
  - name: Webhooks
    description: Event-type catalog, subscriptions, the event ledger, and replay.
paths:
  /locations/{locationId}/booking_profile:
    get:
      tags:
        - Bookings
      summary: Get booking profile
      description: >-
        Whether a granted location accepts partner bookings right now, which
        provider serves it, the capability set its provider declares (hold
        release, venue verbs, time-window listing, live floor), and the hold
        TTL. Read this before calling any other bookings endpoint: `enabled:
        false` means the location is not bookable through the Developer API yet,
        and a `false` capability is what the matching verb answers with
        `capability_unsupported`. Requires `bookings:read`.
      operationId: developer-api-bookings.getBookingProfile
      parameters:
        - name: locationId
          in: path
          schema:
            type: string
          required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    enum:
                      - booking_profile
                  location_id:
                    type: string
                  livemode:
                    type: boolean
                    description: >-
                      True when read with a live credential; test credentials
                      only ever see test-mode data.
                  enabled:
                    type: boolean
                    description: >-
                      True when this location accepts partner bookings through
                      the Developer API right now. When false, every other
                      bookings endpoint for the location returns
                      `bookings_not_enabled`.
                  provider:
                    anyOf:
                      - type: string
                        enum:
                          - maple
                          - opentable
                          - resy
                          - sevenrooms
                      - type: 'null'
                    description: >-
                      The provider behind the location’s booking connection, or
                      null when none is configured.
                  capabilities:
                    type: object
                    properties:
                      hold_release:
                        type: boolean
                        description: >-
                          Whether `DELETE /booking_holds/{holdId}` releases
                          capacity early (provider locks only expire).
                      confirm_decline:
                        type: boolean
                        description: >-
                          Whether the venue verbs `confirm` and `decline` are
                          accepted for this location.
                      seat:
                        type: boolean
                        description: >-
                          Whether the venue verb `seat` is accepted for this
                          location.
                      no_show:
                        type: boolean
                        description: >-
                          Whether the venue verb `no_show` is accepted for this
                          location.
                      window_lookup:
                        type: boolean
                        description: >-
                          Whether bookings can be listed by time window
                          (provider-managed stores only expose lookups by
                          guest).
                      floor_status:
                        type: boolean
                        description: >-
                          Whether the live floor (`GET
                          /locations/{locationId}/booking_floor`) is available —
                          Maple-native stores only.
                    required:
                      - hold_release
                      - confirm_decline
                      - seat
                      - no_show
                      - window_lookup
                      - floor_status
                    additionalProperties: false
                  hold_ttl_seconds:
                    anyOf:
                      - anyOf:
                          - anyOf:
                              - type: number
                              - type: string
                                enum:
                                  - NaN
                              - type: string
                                enum:
                                  - Infinity
                              - type: string
                                enum:
                                  - '-Infinity'
                          - type: string
                            enum:
                              - Infinity
                              - '-Infinity'
                              - NaN
                      - type: 'null'
                    description: >-
                      How long a hold taken through `POST /booking_holds` claims
                      capacity before it expires, when Maple enforces the hold
                      lifetime. Null when the location’s provider owns hold
                      expiry (read `expires_at` on each hold) or no provider is
                      configured.
                required:
                  - object
                  - location_id
                  - livemode
                  - enabled
                  - provider
                  - capabilities
                  - hold_ttl_seconds
                additionalProperties: false
        '401':
          description: DeveloperApiUnauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeveloperApiUnauthorized'
        '403':
          description: DeveloperApiForbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeveloperApiForbidden'
        '404':
          description: DeveloperApiNotFound
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeveloperApiNotFound'
        '429':
          description: DeveloperApiRateLimited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeveloperApiRateLimited'
          headers:
            Retry-After:
              description: >-
                Seconds to wait before retrying; also returned as retry_after in
                the body.
              schema:
                type: integer
                minimum: 1
      security:
        - bearer: []
components:
  schemas:
    DeveloperApiUnauthorized:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - DeveloperApiUnauthorized
        message:
          type: string
      required:
        - _tag
        - message
      additionalProperties: false
    DeveloperApiForbidden:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - DeveloperApiForbidden
        code:
          type: string
          enum:
            - insufficient_scope
            - wrong_environment
        message:
          type: string
      required:
        - _tag
        - code
        - message
      additionalProperties: false
    DeveloperApiNotFound:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - DeveloperApiNotFound
        message:
          type: string
      required:
        - _tag
        - message
      additionalProperties: false
    DeveloperApiRateLimited:
      type: object
      properties:
        _tag:
          type: string
          enum:
            - DeveloperApiRateLimited
        message:
          type: string
        retry_after:
          anyOf:
            - type: number
            - type: string
              enum:
                - NaN
            - type: string
              enum:
                - Infinity
            - type: string
              enum:
                - '-Infinity'
      required:
        - _tag
        - message
        - retry_after
      additionalProperties: false
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        API key — `mpk_test_…` for the sandbox, `mpk_live_…` for production.
        Issued by Maple during partner onboarding.

````