Codat · Schema
Commerce: Product category
Product categories are used to classify a group of products together, either by type (e.g. "Furniture"), or sometimes by tax profile.
Unified-API
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CommerceProductCategory",
"title": "Commerce: Product category",
"description": "Product categories are used to classify a group of products together, either by type (e.g. \"Furniture\"), or sometimes by tax profile.",
"type": "object",
"allOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"example": "\"102\"",
"description": "The unique identifier of the product category"
},
"name": {
"type": "string",
"example": "Entertainment",
"description": "The name of the product category"
},
"ancestorRefs": {
"type": "array",
"description": "A collection of parent product categories implicitly ordered with the immediate parent last in the list.",
"items": {
"$ref": "#/components/schemas/CommerceRecordRef"
}
},
"hasChildren": {
"type": "boolean",
"description": "A boolean indicating whether there are other product categories beneath this one in the hierarchy."
}
}
},
{
"$ref": "#/components/schemas/CommerceOrder/allOf/3"
}
],
"examples": [
{
"productCategories": [
{
"id": "100",
"name": "Entertainment",
"ancestorRefs": [],
"hasChildren": true,
"modifiedDate": "2022-01-01T12:00:00Z",
"sourceModifiedDate": "2021-10-01T12:53:21Z"
},
{
"id": "101",
"name": "Cinema",
"ancestorRefs": [
{
"id": "100",
"name": "Entertainment"
}
],
"hasChildren": true,
"modifiedDate": "2022-01-01T12:00:00Z",
"sourceModifiedDate": "2021-10-01T12:55:02Z"
},
{
"id": "102",
"name": "Movie",
"ancestorRefs": [
{
"id": "100",
"name": "Entertainment"
},
{
"id": "101",
"name": "Cinema"
}
],
"hasChildren": false,
"modifiedDate": "2022-01-01T12:00:00Z",
"sourceModifiedDate": "2021-12-25T12:00:00Z"
}
]
}
]
}
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/codat-commerceproductcategory"
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.