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

# List Orders

> Lists orders for an organization



## OpenAPI

````yaml https://console.lomaplatform.com/api/org/v1/openapi get /api/org/v1/orders
openapi: 3.1.0
info:
  title: LOMA Organization API
  version: 2.78.1
  description: >-
    API for managing organizational data on LOMA.

    ### Authentication


    Your API Key should be passed in the `API-Key` header formatted as
    `KEY_ID:KEY_SECRET`.


    Organization admins can create API keys in the LOMA console.
  contact:
    email: support@lomaplatform.com
servers:
  - url: https://console.lomaplatform.com
security: []
paths:
  /api/org/v1/orders:
    get:
      tags:
        - Orders
      summary: List Orders
      description: Lists orders for an organization
      parameters:
        - in: query
          name: page
          schema:
            type: number
            minimum: 1
            default: 1
        - in: query
          name: limit
          schema:
            type: number
            minimum: 1
            maximum: 1000
            default: 25
        - in: query
          name: sort
          schema:
            type: string
            enum:
              - created_at
              - updated_at
            default: created_at
        - in: query
          name: direction
          schema:
            type: string
            enum:
              - asc
              - desc
            default: desc
      responses:
        '200':
          description: 200 OK
          headers:
            total-count:
              schema:
                type: string
              required: true
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    status:
                      type: string
                    payment_date:
                      type:
                        - string
                        - 'null'
                    subtotal:
                      type: string
                    total:
                      type: string
                    start_date:
                      type: string
                    end_date:
                      type: string
                    requirements_due:
                      type:
                        - string
                        - 'null'
                    requirements_submitted:
                      type:
                        - string
                        - 'null'
                    created_at:
                      type: string
                    updated_at:
                      type: string
                    items:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          price:
                            type: number
                          status:
                            type: string
                          product:
                            type: object
                            properties:
                              id:
                                type: string
                              name:
                                type: string
                            required:
                              - id
                              - name
                          package:
                            type: object
                            properties:
                              id:
                                type: string
                              name:
                                type: string
                            required:
                              - id
                              - name
                          vendor:
                            type: object
                            properties:
                              id:
                                type: string
                              name:
                                type: string
                            required:
                              - id
                              - name
                          category:
                            type: object
                            properties:
                              id:
                                type: string
                              name:
                                type: string
                            required:
                              - id
                              - name
                          locations:
                            type: array
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                name:
                                  type: string
                                primary:
                                  type: boolean
                                external_id:
                                  type: string
                                address_line_1:
                                  type: string
                                address_city:
                                  type: string
                                address_state:
                                  type: string
                                address_zip:
                                  type: string
                              required:
                                - id
                                - name
                                - primary
                                - external_id
                                - address_line_1
                                - address_city
                                - address_state
                                - address_zip
                          kpis:
                            type: array
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                name:
                                  type: string
                                benchmark:
                                  type:
                                    - number
                                    - 'null'
                                value:
                                  type:
                                    - number
                                    - 'null'
                              required:
                                - id
                                - name
                                - benchmark
                                - value
                        required:
                          - id
                          - price
                          - status
                          - product
                          - package
                          - vendor
                          - category
                          - locations
                          - kpis
                  required:
                    - id
                    - status
                    - payment_date
                    - subtotal
                    - total
                    - start_date
                    - end_date
                    - requirements_due
                    - requirements_submitted
                    - created_at
                    - updated_at
                    - items
        '400':
          description: 400 Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      issues:
                        type: array
                        items: {}
                      name:
                        type: string
                    required:
                      - issues
                      - name
                required:
                  - error
        '401':
          description: 401 Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      status:
                        type: number
                      message:
                        type: string
                    required:
                      - status
                      - message
                required:
                  - error
                example:
                  error:
                    status: 401
                    message: Invalid API Key
      security:
        - apiKeyHeader: []
components:
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      in: header
      name: API-Key
      description: API Key for the organization

````