curl --location --request POST 'https://api.dev.opensylo.com/api/merchants/platforms//credentials' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"apiKey": "ck_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"apiSecret": "cs_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"storeUrl": "https://mystore.com"
}'{
"platformId": "chowdeck",
"connectionStatus": "NOT_CONNECTED",
"isActive": true,
"lastSyncAt": "2024-01-20T15:30:00.000Z",
"metrics": {
"totalSales": 2500000,
"totalOrders": 456,
"lastOrderDate": "2024-01-20T14:25:00.000Z"
}
}