Returns current stock and unbounded confirmed-PO, draft-PO and sales-plan backlog volumes for active-planning SKUs, grouped by a product dimension, plus the earliest confirmed-or-draft PO delivery and departure dates still incoming per group. Date-window filtering (fromDate/toDate) is not supported on this endpoint — see /breakdown/by-warehouse or /sales-plans for date-windowed, prorated volumes. Period grouping is not supported. The standard product-filter query params (departments, genders, collections, colors, subcategories, productTypes, merchandiseTypes, pimCustom1-10) are also accepted in addition to those listed below.
Query parameters
-
Dimension to group by: seasons (default), products, variants, skus
-
Season filter, e.g. SS26
-
Variant group ID filter
-
Product group ID filter
-
SKU filter, repeatable (e.g. ?skus=abc&skus=def)
-
SKU ID filter, repeatable
-
Brand ID filter, repeatable
-
Category ID filter, repeatable
-
Size filter, repeatable
-
SKU status filter, repeatable. Defaults to all non-inactive statuses.
-
Restrict to active-planning SKUs. Defaults to true.
-
Only return groups whose PO, draft-PO or sales-plan data was modified at or after this timestamp (RFC3339, or YYYY-MM-DD interpreted as account-local midnight). Stock-only changes are not tracked.
curl \
--request GET 'https://api.maddenanalytics.com/v2/api/planning/breakdown' \
--header "Authorization: $API_KEY"
[
{
"draftPOVolume": 42.0,
"firstDepartureDate": "2025-12-01",
"firstIncomingDate": "2026-01-15",
"groupKey": "string",
"plannedQuantity": 42.0,
"poVolume": 42.0,
"salesPlanVolume": 42.0,
"stockVolume": 42.0
}
]
{
"error": "Error Type (if any)",
"message": "Message describing the error",
"statusCode": 400
}
{
"error": "Error Type (if any)",
"message": "Message describing the error",
"statusCode": 400
}