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>"
}
}Details eines spezifischen Einkaufs abrufen
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>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the order to retrieve
Order details
Anzeigen untergeordnete attribute
Anzeigen untergeordnete attribute
successful, cancelled, timeout, failed, pending War diese Seite hilfreich?