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

# Admin Pending Orders Count

> Count of NEW orders needing attention (status = pending) — powers the
sidebar badge. A single COUNT, cheap enough to poll every minute. An order
leaves this count as soon as the operator moves it to `processing`.



## OpenAPI

````yaml https://api.vellaro.io/openapi.json get /api/v1/admin/orders/pending-count
openapi: 3.1.0
info:
  title: Vellaro API
  description: Vellaro 2026 — E-commerce API
  version: 0.1.0
servers:
  - url: https://api.vellaro.io
    description: Produzione
security: []
tags: []
paths:
  /api/v1/admin/orders/pending-count:
    get:
      tags:
        - admin
      summary: Admin Pending Orders Count
      description: >-
        Count of NEW orders needing attention (status = pending) — powers the

        sidebar badge. A single COUNT, cheap enough to poll every minute. An
        order

        leaves this count as soon as the operator moves it to `processing`.
      operationId: admin_pending_orders_count_api_v1_admin_orders_pending_count_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_dict_'
      security:
        - HTTPBearer: []
components:
  schemas:
    ApiResponse_dict_:
      properties:
        data:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Data
        meta:
          anyOf:
            - $ref: '#/components/schemas/PaginationMeta'
            - type: 'null'
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
      type: object
      title: ApiResponse[dict]
    PaginationMeta:
      properties:
        page:
          type: integer
          title: Page
        page_size:
          type: integer
          title: Page Size
        total:
          type: integer
          title: Total
        total_pages:
          type: integer
          title: Total Pages
      type: object
      required:
        - page
        - page_size
        - total
        - total_pages
      title: PaginationMeta
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````