Passa al contenuto principale

Simulate a tariff without saving anything

POST 

/api/admin/pricing-simulation/run

Per product and band: the cost lines applied, what is left to FPC (margin, quote with and without VAT), and — with an adjustment — the same after the price change plus the delta. With reference_hours the margin is projected over the hours sold. Answers 400 naming the field when the request is malformed or a cost line needs a volume that does not exist.

Request​

Responses​

The simulation