{ "opencollection": "1.0.0", "info": { "name": "commercetools Change History Carts Inventory API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Inventory", "type": "folder" }, "items": [ { "info": { "name": "List inventory entries", "type": "http" }, "http": { "method": "GET", "url": "https://history.{region}.commercetools.com/:projectKey/inventory", "params": [ { "name": "projectKey", "value": "", "type": "path", "description": "The unique key identifying the commercetools project." }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of results to return. Defaults to 20, maximum 500." }, { "name": "offset", "value": "", "type": "query", "description": "Number of results to skip for pagination. Maximum 10000." }, { "name": "where", "value": "", "type": "query", "description": "Query predicate string for filtering results. Uses commercetools predicate syntax (e.g., 'customerEmail = \"user@example.com\"')." }, { "name": "expand", "value": "", "type": "query", "description": "Reference expansion path to inline referenced resources in the response (e.g., 'productType', 'categories[*]')." } ] }, "docs": "Returns a paginated list of inventory entries. Each entry tracks the available quantity and restockable quantity for a specific SKU, optionally scoped to a supply channel. Supports filtering and sorting." }, { "info": { "name": "Create an inventory entry", "type": "http" }, "http": { "method": "POST", "url": "https://history.{region}.commercetools.com/:projectKey/inventory", "params": [ { "name": "projectKey", "value": "", "type": "path", "description": "The unique key identifying the commercetools project." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new inventory entry for a given SKU. The entry can be scoped to a supply channel for multi-warehouse tracking. Optionally set expected delivery dates and restockable quantities." }, { "info": { "name": "Import inventory entries", "type": "http" }, "http": { "method": "POST", "url": "https://history.{region}.commercetools.com/:projectKey/inventories/import-containers/:importContainerKey", "params": [ { "name": "projectKey", "value": "", "type": "path", "description": "The unique key of the commercetools project." }, { "name": "importContainerKey", "value": "", "type": "path", "description": "The user-defined key of the import container." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Submits a batch of inventory entry import requests for asynchronous processing. Inventory entries are matched by SKU and supply channel for upsert behavior." } ] } ], "bundled": true }