Skip to main content

productSummary

Requires permission products:product:read.

Returns product counts for your organization, such as total, active, inactive, out-of-stock and low-stock products, products per category, inventory value and recently added products. Needs the products read permission.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query ProductSummary {
productSummary {
activeProducts
inactiveProducts
lastUpdated
lowStockProducts
outOfStockProducts
totalInventoryValue
productsByCategory {
count
}
}
}

Response:

{
"data": {
"productSummary": {
"activeProducts": 0,
"inactiveProducts": 0,
"lastUpdated": "2025-01-15T00:00:00Z",
"lowStockProducts": 0,
"outOfStockProducts": 0,
"totalInventoryValue": 0,
"productsByCategory": [
{
"count": 0
}
]
}
}
}
productSummary: ProductSummary!

Type​

ProductSummary object​

Headline product figures.