API Reference
cURL
curl --request POST \ --url https://api.flatpeak.com/audits/prices/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "start_time": "2023-06-15T09:00:00Z", "end_time": "2023-06-15T23:00:00Z", "tariff_direction": "IMPORT" }'
{ "id": "tra_65e42cdd73e9f861edda35d7", "object": "price_audit", "live_mode": true, "location_id": "loc_65e42ce4d3b813479b252160", "location_timezone": "Europe/Berlin", "currency_code": "EUR", "tariff_direction": "IMPORT", "last_updated": "2024-05-25T15:15:22Z", "request": { "tariff_direction": "IMPORT", "start_time": "2024-05-24T14:15:22Z", "end_time": "2024-05-24T15:15:22Z" }, "market_sources": [ "mrs_65792b4df61b16685ebd2e78" ], "data": [ { "valid_from": "2024-12-28T01:00:00Z", "valid_to": "2024-12-28T02:00:00Z", "price_breakdown": { "commodity": { "market": 4.998, "fixed": 0.124, "percentage": 0.11, "tier": 100, "aggregate": 17.994 }, "non_commodity": { "fixed": 7.122, "tier": 10000 }, "total": 25.116, "confidence": 0.8 } } ], "time_created": "2024-05-24T15:15:22Z", "account_id": "acc_661677911f2197045e6cf1b1" }
Returns audit of price calculation, by Location ID.
prices
Show child attributes
Was this page helpful?