{ "opencollection": "1.0.0", "info": { "name": "Lightspeed Restaurant K Series Account Items API", "version": "1.0.0" }, "items": [ { "info": { "name": "Items", "type": "folder" }, "items": [ { "info": { "name": "Lightspeed Get Item by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.trial.lsk.lightspeed.app/items/v1/items/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "businessLocationId", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/oauth/authorize", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns the details of a specific item." }, { "info": { "name": "Lightspeed Update Item by ID", "type": "http" }, "http": { "method": "PUT", "url": "https://api.trial.lsk.lightspeed.app/items/v1/items/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/oauth/authorize", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Modifies the values of an existing item." }, { "info": { "name": "Lightspeed Get All Items", "type": "http" }, "http": { "method": "GET", "url": "https://api.trial.lsk.lightspeed.app/items/v1/items", "params": [ { "name": "businessLocationId", "value": "", "type": "query" }, { "name": "sku", "value": "", "type": "query" }, { "name": "name", "value": "", "type": "query" }, { "name": "accountingGroupId", "value": "", "type": "query" }, { "name": "itemIds", "value": "", "type": "query", "description": "Optional list of item IDs to retrieve. When provided, offset and amount are ignored; all matching items are returned." }, { "name": "offset", "value": "", "type": "query" }, { "name": "amount", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/oauth/authorize", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns the items for a specific business location. Supports searching by [`accountingGroupId`](#operation-getitems-accountinggroupid), [`name`](#operation-getitems-name), [`sku`](#operation-getitems-sku), or [`itemIds`](#operation-getitems-itemids)." }, { "info": { "name": "Lightspeed Create Item", "type": "http" }, "http": { "method": "POST", "url": "https://api.trial.lsk.lightspeed.app/items/v1/items", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/oauth/authorize", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a new item for a specific business location." } ] } ], "bundled": true }