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

# List warehouses

> Get a list of all warehouses within an organization.



## OpenAPI

````yaml openapi-v1.json get /v1/warehouses
openapi: 3.1.0
info:
  title: Algure API
  version: '1'
servers:
  - url: https://api.algure.com
    description: Algure Production Public API
security: []
paths:
  /v1/warehouses:
    get:
      tags:
        - Warehouses
      summary: List warehouses
      description: Get a list of all warehouses within an organization.
      operationId: listWarehouses
      parameters: []
      responses:
        '200':
          description: The warehouse list
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Warehouse'
      security:
        - PublicAuth: []
components:
  schemas:
    Warehouse:
      type: object
      required:
        - name
        - id
        - code
        - slug
        - timezone
        - countingWeekdays
        - dailyProductCount
        - countingTimeHour
        - countingTimeMinute
        - countingTimeOffset
        - countingDurationHour
        - bypassCountingSchedule
        - discrepancyThresholdStock
        - discrepancyThresholdValue
        - totalCountableProducts
      properties:
        name:
          type: string
          description: Human-readable warehouse name
        id:
          type: number
          description: Warehouse internal numeric identifier
        code:
          type: string
          description: Unique warehouse code within an organization
        slug:
          type: string
          description: URL-safe warehouse slug within an organization
        timezone:
          type: string
          description: IANA timezone used for warehouse schedules
        countingWeekdays:
          type: array
          items:
            type: number
          description: Weekdays when counting is enabled (1-7)
        dailyProductCount:
          type: number
          description: Daily number of products expected to be counted
        countingTimeHour:
          type: number
          description: Counting start hour in local warehouse time
        countingTimeMinute:
          type: number
          description: Counting start minute in local warehouse time
        countingTimeOffset:
          type: number
          description: Additional schedule offset in hours
        countingDurationHour:
          type: number
          description: Counting session duration in hours
        bypassCountingSchedule:
          type: boolean
          description: Whether counting schedule restrictions are bypassed
        discrepancyThresholdStock:
          type: number
          description: Stock threshold used to flag counting discrepancies
        discrepancyThresholdValue:
          type: number
          description: Value threshold used to flag counting discrepancies
        totalCountableProducts:
          type: number
          description: Total products eligible for countings
  securitySchemes:
    PublicAuth:
      type: http
      scheme: basic
      description: >-
        Use Integration API credentials as HTTP Basic auth (username: client id,
        password: client secret).

````