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

# List all orders

> This endpoint retrieves a paginated list of all orders for a store identified by `x-store-id`. Filtering is supported by `status`, `customer_id`, and `product_id`. Orders include full details for customer, products, and calculated fields such as amounts and taxes.



## OpenAPI

````yaml /api-reference/blink-api.json get /v1/orders
openapi: 3.0.0
info:
  title: Blink API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security:
  - storeIdHeader: []
tags:
  - name: Invoices
    description: Unified merchant of record invoices for products and subscriptions.
  - name: Geo Pricing
    description: Resolve Purchasing Power Parity (PPP) localized pricing.
paths:
  /v1/orders:
    get:
      tags:
        - Orders
      summary: List all orders
      description: >-
        This endpoint retrieves a paginated list of all orders for a store
        identified by `x-store-id`. Filtering is supported by `status`,
        `customer_id`, and `product_id`. Orders include full details for
        customer, products, and calculated fields such as amounts and taxes.
      parameters:
        - name: limit
          in: query
          schema:
            type: integer
            default: 50
          description: Maximum number of orders to return.
        - name: status
          in: query
          schema:
            type: string
          description: Filter orders by status.
        - name: customer_id
          in: query
          schema:
            type: string
          description: Filter orders by customer ID.
        - name: product_id
          in: query
          schema:
            type: string
          description: Filter orders by product ID.
      responses:
        '200':
          description: List of orders retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrdersList'
        '401':
          description: Unauthorized - Store ID header missing.
        '500':
          description: Internal Server Error.
      security:
        - storeIdHeader: []
components:
  schemas:
    OrdersList:
      type: object
      properties:
        meta:
          type: object
          properties:
            total:
              type: integer
        data:
          type: array
          items:
            $ref: '#/components/schemas/OrderDetails'
    OrderDetails:
      type: object
      properties:
        id:
          type: string
        store_id:
          type: string
        status:
          type: string
        amount:
          type: number
        net_amount:
          type: number
        tax_amount:
          type: number
        tax_breakdown:
          type: object
        customer_country:
          type: string
        business_name:
          type: string
        customer_tax_id:
          type: string
        is_recovery_conversion:
          type: boolean
        created_at:
          type: string
          format: date-time
        customer:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            email:
              type: string
        order_items:
          type: array
          items:
            type: object
            properties:
              product_id:
                type: string
              variant_id:
                type: string
              price:
                type: number
              quantity:
                type: integer
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````