Skip to main content

Recalculate Costs

POST 

/api/inventory-forecasting/recalculate-costs

Recalculate supplier product costs using a different pricing tier. Used when the user switches pricing tier in the forecast UI.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Authentication: Requires Bearer token.

priceing_tier_id: optional; pass null to use default pricing.

Returns a map of supplier_product_id → new unit cost.

Request

Responses

OK

Response Headers
    Content-Type