Lightspeed Commerce · Schema
Product Type Collection
CommercePoint-of-SaleRetailRestaurantInventoryLoyaltyPaymentsE-CommerceOmnichannelCanada
Properties
| Name | Type | Description |
|---|---|---|
| data | array | An array of Product Type objects wrapped in top level `data` object. |
| version | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed/main/json-schema/lightspeed-product-type-collection-schema.json",
"title": "Product Type Collection",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/lightspeed-product-types-api-openapi.yml#/components/schemas/ProductTypeCollection",
"properties": {
"data": {
"description": "An array of Product Type objects wrapped in top level `data` object.",
"items": {
"$ref": "#/$defs/ProductType"
},
"type": "array"
},
"version": {
"$ref": "#/$defs/Version"
}
},
"required": [
"data",
"version"
],
"type": "object",
"$defs": {
"ProductCategoryPath": {
"properties": {
"id": {
"description": "Object id of the Product Type in the path.",
"type": "string"
},
"name": {
"description": "The Product Type name.",
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "Product Category Path",
"type": "object"
},
"ProductType": {
"properties": {
"category_path": {
"description": "The path of this product type (now product category) in the hierarchy.",
"items": {
"$ref": "#/$defs/ProductCategoryPath"
},
"type": "array"
},
"deleted_at": {
"description": "Deletion timestamp in UTC.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Auto-generated object ID.",
"type": "string"
},
"leaf_category": {
"description": "Is this product type (now product category) at the bottom of the hierarchy.",
"type": "boolean"
},
"name": {
"description": "The Product Type name.",
"type": "string"
},
"version": {
"description": "Auto-incrementing object version number.",
"format": "int64",
"type": "integer"
}
},
"required": [
"name",
"id",
"leaf_category"
],
"title": "Product Type",
"type": "object"
},
"Version": {
"description": "An object containing the highest and lowest version numbers for all items of the returned collection.",
"properties": {
"max": {
"description": "Highest version number of the payload, or `null` when the result set is empty.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"min": {
"description": "Lowest version number of the payload, or `null` when the result set is empty.",
"format": "int64",
"type": [
"integer",
"null"
]
}
},
"required": [
"max",
"min"
],
"type": "object"
}
}
}
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/lightspeed-product-type-collection"
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.