Demand forecast for one SKU: sales per day, expected need for the given days (1-365, default 30) and an order recommendation
Demand forecast for one SKU: sales per day, expected need for the given days (1-365, default 30) and an order recommendation. Unknown SKU: integration_not_found. A SKU without sales history returns analysis.recommend_action = no_data.
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Path Parameters
Resource identifier: connection_id.
uuidHeader Parameters
Optional correlation identifier.
length <= 128Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/integrations/connections/123e4567-e89b-42d3-a456-426614174000/providers/kiwibot/forecast/get" \ -H "Content-Type: application/json" \ -d '{ "sku": "example" }'{ "sku": "example", "product_title": "example", "variant_title": "example", "days": 0, "current_stock": 0, "sales_per_day": 0, "total_sales_in_period": 0, "forecasted_need": 0, "analysis": { "has_history": false, "recommend_action": "order", "message": "Please review the extracted totals." }}