Skip to main content

Recalculate Total Costs

POST 

/api/fifo-layers/recalculate-total-costs

Recalculates the total_cost field for the specified FIFO layers. Useful after manual avg_cost corrections.

Authentication: Requires Bearer token.

Body:

  • ids (required): Array of FIFO layer IDs to recalculate (min 1, must exist)

Request

Responses

Successful response