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

# List orders

> Returns the outlet's orders, oldest change first. For an order's `payment_breakdown`, use [Order details](/connect/admin-api/orders/order-details).

An order shows up again when it changes, including later refunds. For the next page, send back `next_updated_after` and `next_after_id`.




## OpenAPI

````yaml get /outlets/{outlet_id}/orders
openapi: 3.1.0
info:
  title: Atlas Admin API
  version: 1.0.0
  description: ''
servers:
  - url: https://api.atlas.kitchen/admin/v1
    description: Admin API
security:
  - apiKey: []
    merchantId: []
tags:
  - name: Introduction
    description: >
      The Atlas Admin API provides server-to-server access to merchant
      operations — menu management, order lifecycle, user sync, and inventory.


      ### Who uses this API


      - **Integration partners** syncing menus, orders, or users from external
      systems

      - **POS integrations** creating dine-in carts with payment

      - **Aggregator platforms** pushing orders from external channels


      ### Base URL


      ```

      https://api.atlas.kitchen/admin/v1

      ```


      All endpoints are under `/admin/v1`. Each merchant has their own API
      endpoint (e.g. `https://api.merchant-name.atlas.kitchen/admin/v1`).


      ### Conventions


      **Monetary values** — All monetary fields (`price_cents`, `subtotal`,
      `amount`, etc.) are integers in **minor currency units** (cents). `790` =
      $7.90.


      **Dates and times:**

      - Dates — ISO 8601 format: `2026-04-11`

      - Timestamps — Unix epoch (seconds): `1775882963`

      - Timeslots — Seconds since midnight: `36000` = 10:00 AM


      **Pagination** — List endpoints support `page` and `per_page` query
      parameters (max 200 per page).


      **Errors** — All errors follow a consistent format:


      ```json

      {
        "type": "Invalid Parameter",
        "message": "Human-readable description",
        "error_hash": { "field_name": "Specific error" }
      }

      ```


      | Status | Type | Meaning |

      |--------|------|---------|

      | 401 | Unauthorized | Invalid or missing API key |

      | 404 | Not Found | Resource doesn't exist |

      | 422 | Invalid Parameter | Validation failed |

      | 500 | Server Error | Unexpected error |
  - name: Authentication
    description: >
      Every request requires two headers:


      | Header | Description |

      |--------|-------------|

      | `X-Api-Key` | Your API key |

      | `X-Merchant-Id` | Your merchant ID |


      ### Example


      ```bash

      curl https://api.atlas.kitchen/admin/v1/menus \
        -H "X-Api-Key: your-api-key" \
        -H "X-Merchant-Id: your-merchant-id"
      ```


      ### Credential security


      - Never expose credentials in public repositories or client-side code

      - Store credentials securely (environment variables, secret managers)

      - If credentials are compromised, contact support immediately for
      replacement


      ### Error response


      Invalid or missing credentials return `401 Unauthorized`:


      ```json

      {
        "type": "Unauthorized",
        "message": "You did not provide valid credentials for this request.",
        "error_hash": {
          "api_key": "Check if the API Key is set correctly in the X-Api-Key header."
        }
      }

      ```
  - name: Brands
    description: |
      Brands the merchant operates. Each outlet trades under a brand.
  - name: Outlets
    description: >
      Physical outlets for the merchant. Outlet IDs are used across the API —
      stocks, tables, timeslots, and order creation all take an `outlet_id`.
  - name: Menus
    description: >
      Manage merchant menus with full hierarchy — sections, items, modifier
      groups, and modifiers.


      The `POST /menus` endpoint is an **upsert by identifier** — it creates a
      new menu or updates an existing one, syncing the entire hierarchy in a
      single call. Orphaned sections and items are automatically removed.
  - name: Timeslots
    description: |
      Pickup and delivery timeslots for an outlet on a given serving date.
  - name: Orders
    description: >
      Create orders and manage orders created through the Admin API.


      Orders created through other Atlas workflows cannot be managed with these
      endpoints.
  - name: Users
    description: >
      Sync user records from external systems. Creates or updates users with
      support for guest users, external ID linking, and account creation.
  - name: Stocks
    description: |
      Item stock levels for an outlet on a given serving date.
  - name: Tables
    description: |
      Table layouts for outlets.
  - name: Carts
    description: |
      Create POS carts for dine-in orders with optional upfront payment.
  - name: Cash Vouchers
    description: >
      Create and inspect prepaid cash vouchers for external gift-card or voucher
      integrations.
paths:
  /outlets/{outlet_id}/orders:
    get:
      tags:
        - Orders
      summary: List orders
      description: >
        Returns the outlet's orders, oldest change first. For an order's
        `payment_breakdown`, use [Order
        details](/connect/admin-api/orders/order-details).


        An order shows up again when it changes, including later refunds. For
        the next page, send back `next_updated_after` and `next_after_id`.
      operationId: listOutletOrders
      parameters:
        - name: outlet_id
          in: path
          required: true
          schema:
            type: integer
        - name: updated_after
          in: query
          description: Unix timestamp. Returns orders changed after it.
          schema:
            type: integer
            default: 0
        - name: after_id
          in: query
          description: The previous page's `next_after_id`.
          schema:
            type: integer
        - $ref: '#/components/parameters/per_page'
      responses:
        '200':
          description: Orders changed after `updated_after`
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    example: order
                  per_page:
                    type: integer
                    example: 200
                  next_updated_after:
                    type: integer
                    nullable: true
                    description: Null on the last page.
                    example: 1795409393
                  next_after_id:
                    type: integer
                    nullable: true
                    description: Null on the last page.
                    example: 5521
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Order'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationError'
components:
  parameters:
    per_page:
      name: per_page
      in: query
      schema:
        type: integer
        default: 200
        maximum: 200
  schemas:
    Order:
      type: object
      properties:
        id:
          type: integer
        identifier:
          type: string
        user_id:
          type: integer
        channel_id:
          type: integer
        outlet_id:
          type: integer
        brand_id:
          type: integer
        fulfilment_type:
          type: string
        state:
          type: string
        call_number:
          type: integer
        notes:
          type: string
          nullable: true
        source_label:
          type: string
          nullable: true
        serving_date:
          type: string
          format: date
        timeslot_start:
          type: integer
        timeslot_end:
          type: integer
        timeslot_range:
          type: string
        contact_name:
          type: string
        contact_email:
          type: string
        contact_number:
          type: string
        external_order_id:
          type: string
          nullable: true
          description: Partner-provided full external order identifier.
        external_order_short_code:
          type: string
          nullable: true
          description: >-
            Partner-provided short order or pickup code shown on receipts, KDS,
            dispatch, and caller displays.
        is_gift:
          type: boolean
        is_paid:
          type: boolean
        promo_code:
          type: string
          nullable: true
        address_line1:
          type: string
          nullable: true
        address_line2:
          type: string
          nullable: true
        address_latitude:
          type: number
          nullable: true
        address_longitude:
          type: number
          nullable: true
        postal_code:
          type: string
          nullable: true
        is_cutlery_required:
          type: boolean
        is_contactless:
          type: boolean
        is_asap:
          type: boolean
        recipient_name:
          type: string
          nullable: true
        recipient_contact_number:
          type: string
          nullable: true
        recipient_organisation_name:
          type: string
          nullable: true
        gift_message:
          type: string
          nullable: true
        confirmation_custom_message:
          type: string
          nullable: true
        current_trip:
          type: object
          nullable: true
        payment_breakdown:
          type: object
        created_at:
          type: integer
        updated_at:
          type: integer
        cancelled_at:
          type: integer
          nullable: true
        completed_at:
          type: integer
          nullable: true
        order_items:
          type: array
          items:
            $ref: '#/components/schemas/OrderItem'
        order_payments:
          type: array
          items:
            $ref: '#/components/schemas/OrderPayment'
        order_refunds:
          type: array
          description: >-
            Successful refunds on the order, as money. A refund does not return
            stock.
          items:
            type: object
            properties:
              id:
                type: integer
              type:
                type: string
                example: OrderRefund
              amount_cents:
                type: integer
                example: 500
        order_item_refunds:
          type: array
          description: Successful refunds of single order items, as money.
          items:
            type: object
            properties:
              id:
                type: integer
              order_item_id:
                type: integer
              amount_cents:
                type: integer
                example: 500
    OrderItem:
      type: object
      properties:
        id:
          type: integer
        item_id:
          type: integer
        name:
          type: string
        quantity:
          type: number
        currency:
          type: string
        price_cents:
          type: number
        discount:
          type: number
        calculated_subtotal:
          type: number
        per_unit_quantity:
          type: number
        unit_label:
          type: string
          nullable: true
        notes:
          type: string
          nullable: true
        report_category:
          type: string
          nullable: true
        brand_id:
          type: integer
          nullable: true
        voided:
          type: boolean
        adjustment_reason:
          type: object
          nullable: true
          description: >-
            Why the item was voided. Null when the item is not voided, or when
            no reason was recorded.
          properties:
            id:
              type: integer
            label:
              type: string
              example: Wrong order
        product_tags:
          type: array
          items:
            type: string
        kitchen_tags:
          type: array
          items:
            type: string
        sub_items:
          type: array
          items:
            $ref: '#/components/schemas/OrderItem'
    OrderPayment:
      type: object
      properties:
        id:
          type: integer
        capture_id:
          type: string
        is_captured:
          type: boolean
        capture_type:
          type: string
        payment_method_id:
          type: integer
        amount:
          type: number
    Error:
      type: object
      properties:
        type:
          type: string
        message:
          type: string
        error_hash:
          type: object
  responses:
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ValidationError:
      description: Validation failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-Api-Key
      description: Your API key provided during onboarding. Example `c2fb5ae6ea99c37d...`
    merchantId:
      type: apiKey
      in: header
      name: X-Merchant-Id
      description: Your numeric merchant ID. Example `1`

````

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