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

# Get Order

> Get details of a specific order



## OpenAPI

````yaml GET /orders/{orderId}
openapi: 3.0.1
info:
  title: Scango API
  description: >-
    API documentation for Scango's dashboard services.


    **List endpoints** (`GET /products`, `GET /orders`, `GET /suppliers`, `GET
    /categories`) return `data` plus `meta` with `total`, `returned`, and
    `limit` (applied page size; default **100**, maximum **5000** unless noted).
    Product search with `q` also includes `offset` and caps the effective page
    size at **250**. See schema `ListMeta`.
  version: 1.0.0
servers:
  - url: https://dashboard.scango.ch/api/v1
security:
  - bearerAuth: []
tags:
  - name: Products
    description: 'Product catalog: list, search, create, update, and delete.'
  - name: Orders
    description: Orders within a time range and single-order details.
  - name: Suppliers
    description: Supplier directory for your organization.
  - name: Categories
    description: Product categories.
paths:
  /orders/{orderId}:
    get:
      tags:
        - Orders
      summary: Get order by ID
      description: Returns details of a specific order
      operationId: getOrder
      parameters:
        - name: orderId
          in: path
          required: true
          description: ID of the order to retrieve
          schema:
            type: string
      responses:
        '200':
          description: Order details
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Order'
              example:
                data:
                  id: order_01
                  orderId: order_01
                  instance: org_01
                  store: store_01
                  price: 4590
                  paymentState: successful
                  orderDate:
                    _seconds: 1713600000
                    _nanoseconds: 0
                  products:
                    - productId: a1b2c3
                      quantity: 2
                      title: Mineral water 50cl
                      price: 120
                      supplier: sup_01
components:
  schemas:
    Order:
      type: object
      properties:
        id:
          type: string
        giftcardCurrentValue:
          type: integer
        instance:
          type: string
        orderId:
          type: string
        price:
          type: integer
        giftcardFunction:
          type: string
        paymentMethod:
          type: string
        store:
          type: string
        userId:
          type: string
        orderDate:
          type: object
          properties:
            _seconds:
              type: integer
            _nanoseconds:
              type: integer
        orderState:
          type: string
        giftcardId:
          type: string
        products:
          type: array
          items:
            type: object
            properties:
              quantity:
                type: integer
              productId:
                type: string
              netPrice:
                type: integer
              tax:
                type: integer
              title:
                type: string
              type:
                type: string
              taxRate:
                type: number
              originalProductId:
                type: string
              price:
                type: integer
              supplier:
                type: string
              imageUrl:
                type: string
              deposit:
                type: integer
              category:
                type: string
        paymentBrand:
          type: string
        transactionDate:
          type: object
          properties:
            _seconds:
              type: integer
            _nanoseconds:
              type: integer
        paymentState:
          type: string
          enum:
            - successful
            - cancelled
            - timeout
            - failed
            - pending
        transactionMessage:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````