GET /2024-09/forecasting/sales-volume-forecasts

Get the list of marketplace catalog item sales volume forecasts with filtering options.

Query parameters

  • merchant_id string(uuid) Required

    The UUID of the merchant to filter forecasts by

  • marketplace_catalog_item_id string(uuid)

    Filter by marketplace catalog item ID

  • minimum_volume integer

    Minimum volume to filter by (uses risk-adjusted high forecast)

    Minimum value is 0.

  • page integer

    The page number to retrieve

    Minimum value is 1.

  • per_page integer

    The number of results to return per page

    Minimum value is 1, maximum value is 100.

Responses

  • 200 application/json

    A successful response returning the list of sales volume forecasts

    Hide response attributes Show response attributes object
    • meta object
      Hide meta attributes Show meta attributes object
      • current_page integer
      • from integer | null
      • last_page integer
      • path string
      • per_page integer
      • to integer | null
      • total integer
    • data array[object] Required

      Sales volume forecast for marketplace catalog items

      Hide data attributes Show data attributes object
      • id string(uuid) Required

        The UUID of the resource.

      • marketplace_catalog_item_id string(uuid) Required

        The UUID of the marketplace catalog item

      • forecast_model string Required

        Name and version of the forecast model used

      • thirty_day_sales_forecast_high integer Required

        High estimate for 30-day sales volume

        Minimum value is 0.

      • thirty_day_sales_forecast_low integer Required

        Low estimate for 30-day sales volume

        Minimum value is 0.

      • risk_score integer Required

        Risk score from 1-100

        Minimum value is 1, maximum value is 100.

      • risk_factors array[string] Required

        List of risk factors identified

        Values are limited_volume_history, highly_variable_volume_history, limited_seasonality_data, medium_seasonality, or high_seasonality.

      • risk_adjusted_thirty_day_sales_forecast_high integer Required

        Risk-adjusted high estimate for 30-day sales volume

        Minimum value is 0.

      • risk_adjusted_thirty_day_sales_forecast_low integer Required

        Risk-adjusted low estimate for 30-day sales volume

        Minimum value is 0.

      • calculated_at string(date-time) Required

        The date and time the resource was created.

      • forecast_inputs object Required

        JSON object containing the inputs used for the forecast calculation

        Hide forecast_inputs attributes Show forecast_inputs attributes object
        • risk_adjustment_factor number

          The factor used to adjust forecasts based on risk

          Minimum value is 0, maximum value is 1.

        • risk_factor_scores array[object]

          Individual risk factor scores

          Hide risk_factor_scores attribute Show risk_factor_scores attribute object
          • * number Additional properties
      • created_at string(date-time) Required

        The date and time the resource was created.

      • updated_at string(date-time) Required

        The date and time the resource was last updated.

  • 401 application/json

    The request requires user authentication or the user is not authorized to access this resource.

    Hide response attribute Show response attribute object
    • message string
  • 404 application/json

    The specified resource was not found

    Hide response attribute Show response attribute object
    • message string
GET /2024-09/forecasting/sales-volume-forecasts
curl \
 --request GET 'https://app.merchanthq.com/api/2024-09/forecasting/sales-volume-forecasts?merchant_id=1e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "links": {
    "first": "https://app.merchanthq.com/api/2024-09/merchants?page=1",
    "last": "https://app.merchanthq.com/api/2024-09/merchants?page=10",
    "prev": "https://app.merchanthq.com/api/2024-09/merchants?page=1",
    "next": "https://app.merchanthq.com/api/2024-09/merchants?page=3"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 10,
    "path": "https://app.merchanthq.com/api/2024-09/merchants",
    "per_page": 10,
    "to": 10,
    "total": 20
  },
  "data": [
    {
      "id": "1e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4",
      "marketplace_catalog_item_id": "1e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4",
      "forecast_model": "amazon-sales-rank-v150725",
      "thirty_day_sales_forecast_high": 250,
      "thirty_day_sales_forecast_low": 150,
      "risk_score": 25,
      "risk_factors": [
        "limited_volume_history"
      ],
      "risk_adjusted_thirty_day_sales_forecast_high": 200,
      "risk_adjusted_thirty_day_sales_forecast_low": 120,
      "calculated_at": "2025-01-10T10:37:11Z",
      "forecast_inputs": {
        "risk_adjustment_factor": 0.8,
        "risk_factor_scores": [
          {
            "additionalProperty1": 42.0,
            "additionalProperty2": 42.0
          }
        ]
      },
      "created_at": "2025-01-10T10:37:11Z",
      "updated_at": "2025-01-10T10:37:11Z"
    }
  ]
}
Response examples (401)
{
  "message": "Unauthorized"
}
Response examples (404)
{
  "message": "Not found"
}