InventoryRequest

CommercePoint-of-SaleRetailRestaurantInventoryLoyaltyPaymentsE-CommerceOmnichannelCanada

Properties

Name Type Description
after integer The lower limit for the version numbers to be included in the response.
before integer The upper limit for the version numbers to be included in the response.
include_deleted boolean Whether to include inventory records for deleted products.
product_id string Optional filter to restrict results to the specified product. When combined with variants: true, it's treated as a root product ID and matches all variants of that product; otherwise it matches the ex
size integer The maximum number of inventory records to return.
sort_direction string Whether to sort the response by ascending or descending.
variants boolean When true (and product_id is set), matches all variant products sharing the same root_product_id, rather than just the exact product.
View JSON Schema on GitHub

JSON Schema

lightspeed-inventory-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed/main/json-schema/lightspeed-inventory-request-schema.json",
  "title": "InventoryRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lightspeed-inventory-api-openapi.yml#/components/schemas/InventoryRequest",
  "properties": {
    "after": {
      "description": "The lower limit for the version numbers to be included in the response.",
      "format": "int64",
      "type": "integer"
    },
    "before": {
      "description": "The upper limit for the version numbers to be included in the response.",
      "format": "int64",
      "type": "integer"
    },
    "include_deleted": {
      "default": false,
      "description": "Whether to include inventory records for deleted products.",
      "type": "boolean"
    },
    "product_id": {
      "description": "Optional filter to restrict results to the specified product. When combined with variants: true, it's \ntreated as a root product ID and matches all variants of that product; otherwise it matches the exact \nproduct.",
      "format": "uuid",
      "type": "string"
    },
    "size": {
      "default": 1000,
      "description": "The maximum number of inventory records to return.",
      "format": "int64",
      "maximum": 5000,
      "type": "integer"
    },
    "sort_direction": {
      "default": "desc",
      "description": "Whether to sort the response by ascending or descending.",
      "enum": [
        "asc",
        "desc"
      ],
      "type": "string"
    },
    "variants": {
      "default": false,
      "description": "When true (and product_id is set), matches all variant products sharing the same root_product_id, rather\nthan just the exact product.",
      "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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lightspeed-inventory-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.