Zum Hauptinhalt springen
GET
/
orders
/
{orderId}
Get order by ID
curl --request GET \
  --url https://dashboard.scango.ch/api/v1/orders/{orderId} \
  --header 'Authorization: Bearer <token>'
{
  "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"
      }
    ]
  }
}

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.

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Pfadparameter

orderId
string
erforderlich

ID of the order to retrieve

Antwort

200 - application/json

Order details

data
object