WooCommerce · Schema
ProductCollectionData
Aggregate data about a filtered product collection.
E-CommerceOpen-SourceOrderProductWordPress
Properties
| Name | Type | Description |
|---|---|---|
| price_range | object | Minimum and maximum prices in the collection. |
| attribute_counts | array | Term counts for requested attributes. |
| rating_counts | array | Product counts by star rating. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/woocommerce/refs/heads/main/json-schema/woocommerce-store-api-product-collection-data-schema.json",
"title": "ProductCollectionData",
"description": "Aggregate data about a filtered product collection.",
"type": "object",
"properties": {
"price_range": {
"type": "object",
"description": "Minimum and maximum prices in the collection.",
"nullable": true,
"properties": {
"min_price": {
"type": "string",
"description": "Minimum product price."
},
"max_price": {
"type": "string",
"description": "Maximum product price."
}
},
"example": {
"min_price": "string-value",
"max_price": "string-value"
}
},
"attribute_counts": {
"type": "array",
"description": "Term counts for requested attributes.",
"items": {
"type": "object",
"properties": {
"term": {
"type": "integer",
"description": "Term ID."
},
"count": {
"type": "integer",
"description": "Number of products with this term."
}
}
},
"example": [
{
"term": 1,
"count": 1
}
]
},
"rating_counts": {
"type": "array",
"description": "Product counts by star rating.",
"items": {
"type": "object",
"properties": {
"rating": {
"type": "integer",
"description": "Star rating value."
},
"count": {
"type": "integer",
"description": "Number of products with this rating."
}
}
},
"example": [
{
"rating": 1,
"count": 1
}
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/woocommerce-store-api-product-collection-data"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.