GET
/
orders
/
{orderId}
curl --request GET \
  --url https://dashboard.scango.ch/api/v1/orders/{orderId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "giftcardCurrentValue": 123,
    "instance": "<string>",
    "orderId": "<string>",
    "price": 123,
    "giftcardFunction": "<string>",
    "paymentMethod": "<string>",
    "store": "<string>",
    "userId": "<string>",
    "orderDate": {
      "_seconds": 123,
      "_nanoseconds": 123
    },
    "orderState": "<string>",
    "giftcardId": "<string>",
    "products": [
      {
        "quantity": 123,
        "productId": "<string>",
        "netPrice": 123,
        "tax": 123,
        "title": "<string>",
        "type": "<string>",
        "taxRate": 123,
        "originalProductId": "<string>",
        "price": 123,
        "supplier": "<string>",
        "imageUrl": "<string>",
        "deposit": 123,
        "category": "<string>"
      }
    ],
    "paymentBrand": "<string>",
    "transactionDate": {
      "_seconds": 123,
      "_nanoseconds": 123
    },
    "paymentState": "successful",
    "transactionMessage": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

orderId
string
required

ID of the order to retrieve

Response

200 - application/json
Order details
data
object