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.

Required scope: purchase-orders:write

Grant this scope to your token under Settings → Developer → Personal Access 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