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

# List test orders

> Returns a paginated list of test orders (orders with TEST- prefix).



## OpenAPI

````yaml api-reference/v1/openapi.yaml get /v1/orders/test
openapi: 3.1.0
info:
  title: Goods API
  version: 1.0.0
  description: >-
    API for Goods grocery operations - scanner app, admin dashboard, and
    customer features
  contact:
    name: Goods Team
    url: https://goods.app
servers:
  - url: http://localhost:3000
    description: Local development
  - url: https://dev.api.switchyard.run
    description: Development
  - url: https://api.switchyard.run
    description: Production
security: []
tags:
  - name: v1
    description: API v1 - unified domain-based endpoints
  - name: Scanner
    description: Scanner app endpoints for drivers and pickers
  - name: Sweeps
    description: Sweep management - retail store pickup operations
  - name: RFC Picks
    description: Ready-for-checkout picking operations
  - name: Inventory
    description: Inventory management and barcode lookup
  - name: Admin
    description: Admin dashboard endpoints
  - name: Orders
    description: Order management
  - name: Products
    description: Product catalog management
  - name: Notifications
    description: Push, email, SMS, and Slack notification management
paths:
  /v1/orders/test:
    get:
      tags:
        - Orders
      summary: List test orders
      description: Returns a paginated list of test orders (orders with TEST- prefix).
      parameters:
        - schema:
            type: integer
            minimum: 1
            maximum: 500
            default: 20
          required: false
          name: limit
          in: query
        - schema:
            type: integer
            nullable: true
            minimum: 0
            default: 0
          required: false
          name: offset
          in: query
        - schema:
            type: string
          required: false
          name: status
          in: query
        - schema:
            type: string
            enum:
              - received
              - reserved
              - picking
              - sweep_hold
              - staged
              - fulfilling
              - arrived
              - completed
            description: Filter by RFC fulfillment status
          required: false
          name: rfc_status
          in: query
        - schema:
            type: string
            format: uuid
          required: false
          name: customer_id
          in: query
        - schema:
            type: string
            description: >-
              Filter by single date (YYYY-MM-DD), use start_date/end_date for
              ranges
          required: false
          name: date
          in: query
        - schema:
            type: string
            description: Start date for date range filter (YYYY-MM-DD)
          required: false
          name: start_date
          in: query
        - schema:
            type: string
            description: End date for date range filter (YYYY-MM-DD)
          required: false
          name: end_date
          in: query
        - schema:
            type: string
            description: Search by order number or email
          required: false
          name: q
          in: query
      responses:
        '200':
          description: List of test orders
          content:
            application/json:
              schema:
                type: object
                properties:
                  orders:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        customer_id:
                          type: string
                          format: uuid
                        order_number:
                          type: string
                        display_id:
                          type: number
                        status:
                          type: string
                        total_amount:
                          type: number
                        payment_status:
                          type: string
                          nullable: true
                        payment_method:
                          type: string
                          nullable: true
                        order_cutoff_time:
                          type: string
                          nullable: true
                        estimated_pickup_time:
                          type: string
                          nullable: true
                        actual_pickup_time:
                          type: string
                          nullable: true
                        location_id:
                          type: string
                          nullable: true
                          format: uuid
                        notes:
                          type: string
                          nullable: true
                        source:
                          type: string
                          nullable: true
                        currency_code:
                          type: string
                          nullable: true
                        email:
                          type: string
                          nullable: true
                        fulfillment_status:
                          type: string
                          nullable: true
                        created_at:
                          type: string
                        updated_at:
                          type: string
                        deleted_at:
                          type: string
                          nullable: true
                      required:
                        - id
                        - customer_id
                        - order_number
                        - status
                        - total_amount
                        - payment_status
                        - payment_method
                        - order_cutoff_time
                        - estimated_pickup_time
                        - actual_pickup_time
                        - location_id
                        - notes
                        - source
                        - currency_code
                        - email
                        - fulfillment_status
                        - created_at
                        - updated_at
                  total:
                    type: number
                required:
                  - orders
                  - total

````