NOT_CONNECTED - Platform available but not connectedPENDING - Connection in progress (OAuth flow started)CONNECTED - Successfully connected and syncing dataDISCONNECTED - Previously connected but now revokedFAILED - Connection attempt failedcurl --location --request GET 'https://api.dev.opensylo.com/api/merchants/platforms' \
--header 'Authorization: Bearer <token>'{
"platforms": [
{
"platform": {
"id": "chowdeck",
"name": "chowdeck",
"displayName": "Chowdeck",
"description": "Food delivery platform that helps restaurants sell meals online and reach more customers.",
"type": "FOOD_DELIVERY",
"logo": "/logos/chowdeck.png",
"website": "https://chowdeck.com",
"status": "PENDING",
"features": [
"Online food ordering",
"Delivery management",
"Real-time order tracking"
],
"requirements": [
"Valid business registration",
"Food service license",
"Bank account"
]
},
"connectionStatus": "NOT_CONNECTED",
"connectedAt": "2024-01-15T10:00:00.000Z",
"lastSyncAt": "2024-01-20T15:30:00.000Z",
"connectionId": "conn_abc123",
"metadata": {
"storeName": "Yakoyo Lekki Store",
"storeId": "store_456",
"accountEmail": "store@example.com"
}
}
],
"totalPlatforms": 8,
"connectedCount": 2,
"availableCount": 6
}