Lightspeed Commerce · Schema
InventoryLevelsRequest
CommercePoint-of-SaleRetailRestaurantInventoryLoyaltyPaymentsE-CommerceOmnichannelCanada
Properties
| Name | Type | Description |
|---|---|---|
| group_variants | boolean | If filtering by `root_product_ids` and `group_variants` is true, one aggregated level will be returned for each variant family at each outlet. |
| include_composites | boolean | Include composite products in the response. |
| include_inactive | boolean | Include inactive products in the response. |
| location_ids | array | Optional outlet IDs to filter response by. |
| offset | integer | How many inventory levels to skip. |
| product_ids | array | Optional product IDs to filter response by. Mutually exclusive with `root_product_ids`. When omitted, returns inventory levels for all products. |
| root_product_ids | array | Optional root product IDs to filter response by. Mutually exclusive with `product_ids`. When omitted, returns inventory levels for all products. |
| size | integer | How many inventory levels to return. |
| sort_direction | string | Whether to sort the response ascending or descending. |
| sort_type | string | Which response field to sort by. |
| supplier_ids | array | Optional supplier IDs to filter response by. |
| to_be_procured_only | boolean | Only include inventory with a positive quantity to procure. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed/main/json-schema/lightspeed-inventory-levels-request-schema.json",
"title": "InventoryLevelsRequest",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/lightspeed-inventory-api-openapi.yml#/components/schemas/InventoryLevelsRequest",
"properties": {
"group_variants": {
"default": false,
"description": "If filtering by `root_product_ids` and `group_variants` is true, one aggregated level will be returned\nfor each variant family at each outlet.",
"type": "boolean"
},
"include_composites": {
"default": false,
"description": "Include composite products in the response.",
"type": "boolean"
},
"include_inactive": {
"default": false,
"description": "Include inactive products in the response.",
"type": "boolean"
},
"location_ids": {
"description": "Optional outlet IDs to filter response by.",
"items": {
"format": "uuid",
"type": "string"
},
"maxItems": 1000,
"type": "array"
},
"offset": {
"default": 0,
"description": "How many inventory levels to skip.",
"format": "int64",
"type": "integer"
},
"product_ids": {
"description": "Optional product IDs to filter response by. Mutually exclusive with `root_product_ids`. When omitted, returns inventory levels for all products.",
"items": {
"format": "uuid",
"type": "string"
},
"maxItems": 1000,
"type": "array"
},
"root_product_ids": {
"description": "Optional root product IDs to filter response by. Mutually exclusive with `product_ids`. When omitted, returns inventory levels for all products.",
"items": {
"format": "uuid",
"type": "string"
},
"maxItems": 1000,
"type": "array"
},
"size": {
"default": 100,
"description": "How many inventory levels to return.",
"format": "int64",
"maximum": 10000,
"type": "integer"
},
"sort_direction": {
"default": "desc",
"description": "Whether to sort the response ascending or descending.",
"enum": [
"asc",
"desc"
],
"type": "string"
},
"sort_type": {
"default": "total_count",
"description": "Which response field to sort by.",
"enum": [
"total_count",
"total_cost",
"average_cost",
"reorder_point",
"reorder_amount",
"product_name",
"created_at"
],
"type": "string"
},
"supplier_ids": {
"description": "Optional supplier IDs to filter response by.",
"items": {
"format": "uuid",
"type": "string"
},
"maxItems": 1000,
"type": "array"
},
"to_be_procured_only": {
"default": false,
"description": "Only include inventory with a positive quantity to procure.",
"type": "boolean"
}
}
}
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-inventory-levels-request"
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.