Commerce CensusContactRequest access

API / Intelligence

Forecast

Whether to buy now or wait, from the product's own seasonality and discount rhythm — with the confidence interval shown rather than hidden.

GET /v1/products/{id}/forecast

Request

No parameters beyond the path and your bearer token.

Request & response
GET /v1/products/prd_8Fk2xQ/forecast?horizon=30

→ 200
{ "recommendation": "buy_now",
  "p_lower_within_horizon": 0.18,
  "expected_low_minor": 19400, "interval": [19000, 21500],
  "basis": { "observations": 214, "seasonal_events": ["black_friday"] },
  "confidence": "medium" }