# Calculate new opportunity forecast **POST /2024-09/forecasting/opportunity-forecasts/calculate** Calculate a new forecast for an inventory opportunity based on marketplace catalog item and supplier item cost. ## Servers - Production server (uses live data): https://app.merchanthq.com/api (Production server (uses live data)) ## Authentication methods - Default ## Parameters ### Body: application/json (object) - **marketplace_catalog_item_id** (string(uuid)) The UUID of the marketplace catalog item - **supplier_item_cost_id** (string(uuid)) The UUID of the supplier item cost ## Responses ### 201 A successful response returning the calculated opportunity forecast #### Body: application/json (object) - **data** (object) Calculated marketplace opportunity forecast with risk assessment ### 401 The request requires user authentication or the user is not authorized to access this resource. #### Body: application/json (object) - **message** (string) ### 404 The specified resource was not found #### Body: application/json (object) - **message** (string) ### 422 The request was unprocessable due to validation errors #### Body: application/json (object) - **message** (string) - **errors** (object) A map of field names to arrays of error messages [Powered by Bump.sh](https://bump.sh)