Returns stock, confirmed-PO and draft-PO volumes for active-planning SKUs, grouped by a product dimension and warehouse. Draft-PO volume without an assigned warehouse is returned with an empty warehouseId. The whole fromDate–toDate window is returned; 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.
-
Start of PO/draft-PO delivery date window (YYYY-MM-DD)
-
End of PO/draft-PO delivery date window (YYYY-MM-DD)
-
Only return rows whose PO or draft-PO data was modified 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/planned-volumes/by-warehouse?fromDate=string&toDate=string' \
--header "Authorization: $API_KEY"
[
{
"draftPOVolume": 42.0,
"groupKey": "string",
"poVolume": 42.0,
"stockVolume": 42.0,
"warehouseId": "string",
"warehouseName": "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
}