cURL
curl --request PUT \ --url https://console.lomaplatform.com/api/org/v1/sales/daily \ --header 'API-Key: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "date": "2024-06-14", "locations": { "loc_jsnFcOej5oD": { "net_sales": 1201, "transaction_count": 12 }, "loc_PP4ZcUxYG2g": { "net_sales": 3291, "transaction_count": 32 } } }'
This response does not have an example.
Upserts daily sales data by location and date.
API Key for the organization
Data upserted successfully.