Bestellungen
Einkäufe auflisten
Bestellungen
Einkäufe auflisten
Alle Einkäufe Ihrer Organisation abrufen
GET
/
orders
curl --request GET \
--url https://dashboard.scango.ch/api/v1/orders \
--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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Start date (Format: 2020-01-01T00:00:00Z)
End date (Format: 2020-01-01T00:00:00Z)
Payment status filter
Available options:
successful
, cancelled
, timeout
, failed
, pending
Response
200 - application/json
List of orders
Available options:
successful
, cancelled
, timeout
, failed
, pending
War diese Seite hilfreich?
curl --request GET \
--url https://dashboard.scango.ch/api/v1/orders \
--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>"
}
]
}