Returns account sales-plan volumes per (SKU, segment) with product-hierarchy fields and classification metadata. Results are filtered to account-visible subsegments, matching the data shown in the Madden planning UI. fromDate/toDate are optional: when provided only forecasts whose delivery window overlaps the range are included and volumes are prorated by the overlap fraction; when omitted, all forecasts are returned at full volume. Sales-plan data has no warehouse dimension — use /breakdown for warehouse-level breakdowns.
Query parameters
-
Start of delivery-window filter (YYYY-MM-DD, optional)
-
End of delivery-window filter (YYYY-MM-DD, optional)
-
Filter by channel: D2C or B2B. Omit to include all channels.
-
Only return forecasts modified at or after this timestamp (RFC3339, or YYYY-MM-DD interpreted as account-local midnight)
-
Season filter, repeatable
-
Variant group ID filter
-
Product group ID filter
-
SKU filter, repeatable
-
SKU ID filter, repeatable
-
Brand ID filter, repeatable
-
Category ID filter, repeatable
-
Size filter, repeatable
-
SKU status filter. Defaults to all non-inactive statuses.
-
Restrict to active-planning SKUs. Defaults to true.
curl \
--request GET 'https://api.maddenanalytics.com/v2/api/planning/sales-plans' \
--header "Authorization: $API_KEY"
[
{
"classifications": {},
"productGroupId": "string",
"salesPlanVolume": 42.0,
"season": "string",
"segmentId": "string",
"segmentName": "string",
"sku": "string",
"skuId": 42,
"variantGroupId": "string"
}
]
{
"error": "Error Type (if any)",
"message": "Message describing the error",
"statusCode": 400
}
{
"error": "Error Type (if any)",
"message": "Message describing the error",
"statusCode": 400
}