Guida rapida
Effettua la tua prima richiesta API
Chiave API
Nella dashboard: Impostazioni → Organizzazione → Chiavi. Scegli Lettura o Scrittura.
Elenca prodotti
curl -sS \
-H "Authorization: Bearer YOUR_API_KEY" \
"https://dashboard.scango.ch/api/v1/products?limit=5"
{
"data": [{ "id": "…", "name": "…", "price": 120 }],
"meta": { "total": 1, "returned": 1, "limit": 5 }
}
Ordini
start, end e paymentState sono obbligatori:
curl -sS \
-H "Authorization: Bearer YOUR_API_KEY" \
"https://dashboard.scango.ch/api/v1/orders?start=2024-01-01T00:00:00.000Z&end=2024-01-02T00:00:00.000Z&paymentState=successful&limit=100"