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

# Listar sectores del local



## OpenAPI

````yaml get /reservations/stores/{storeId}/sectors
openapi: 3.1.0
info:
  title: Justo API
  version: 3.0.0
servers:
  - url: https://api.service.getjusto.com/v3
    description: Production server
security: []
paths:
  /reservations/stores/{storeId}/sectors:
    get:
      summary: Listar sectores del local
      parameters:
        - name: storeId
          in: path
          required: true
          schema:
            type: string
            description: ID del local
            example: store-abc123
      responses:
        '200':
          description: The OpenAPI spec
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/reservationsSector'
                    description: Sectores del local
        '400':
          description: Errors
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: 'false'
                  error:
                    type: object
                    properties:
                      error:
                        type: string
                        example: error
                      message:
                        type: string
                        example: The request has an error
components:
  schemas:
    reservationsSector:
      type: object
      properties:
        _id:
          type: string
          description: Identificador único del sector
          example: sec-abc123def456
        storeId:
          type: string
          description: ID del local al que pertenece el sector
          example: store-abc123
        name:
          type: string
          description: Nombre visible del sector
          example: Terraza
        disabledForReservations:
          type: boolean
          description: Indica si el sector está deshabilitado para reservas
          example: false
        disabledForReservationsDays:
          type: array
          description: >-
            Días de la semana en los que el sector no acepta reservas (0 =
            domingo, 6 = sábado)
          items:
            type: number
            example: 1
        customMessage:
          type: string
          description: Mensaje opcional mostrado al cliente al elegir este sector
          example: Esta terraza no está techada

````