{
  "opencollection": "1.0.0",
  "info": {
    "name": "Lightspeed Restaurant K Series Account Item API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Item",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lightspeed List Items",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.trial.lsk.lightspeed.app/Account/:accountID/Item.json",
            "params": [
              {
                "name": "accountID",
                "value": "",
                "type": "path",
                "description": "The numeric Lightspeed Retail account identifier, resolved via GET /Account.json."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of records to skip for pagination."
              },
              {
                "name": "upc",
                "value": "",
                "type": "query",
                "description": "Filter items by Universal Product Code."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/oauth/authorize",
              "accessTokenUrl": "/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns all active (unarchived) inventory items for the account. Supports filtering by query parameters such as upc, systemSku, and description."
        },
        {
          "info": {
            "name": "Lightspeed Create Item",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.trial.lsk.lightspeed.app/Account/:accountID/Item.json",
            "params": [
              {
                "name": "accountID",
                "value": "",
                "type": "path",
                "description": "The numeric Lightspeed Retail account identifier, resolved via GET /Account.json."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/oauth/authorize",
              "accessTokenUrl": "/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Creates a new inventory item in the account."
        },
        {
          "info": {
            "name": "Lightspeed Get Item by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.trial.lsk.lightspeed.app/Account/:accountID/Item/:itemID.json",
            "params": [
              {
                "name": "accountID",
                "value": "",
                "type": "path",
                "description": "The numeric Lightspeed Retail account identifier, resolved via GET /Account.json."
              },
              {
                "name": "itemID",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the item."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/oauth/authorize",
              "accessTokenUrl": "/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns a single inventory item by its itemID."
        },
        {
          "info": {
            "name": "Lightspeed Update Item",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.trial.lsk.lightspeed.app/Account/:accountID/Item/:itemID.json",
            "params": [
              {
                "name": "accountID",
                "value": "",
                "type": "path",
                "description": "The numeric Lightspeed Retail account identifier, resolved via GET /Account.json."
              },
              {
                "name": "itemID",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the item."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/oauth/authorize",
              "accessTokenUrl": "/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Updates an existing inventory item."
        },
        {
          "info": {
            "name": "Lightspeed Delete Item",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.trial.lsk.lightspeed.app/Account/:accountID/Item/:itemID.json",
            "params": [
              {
                "name": "accountID",
                "value": "",
                "type": "path",
                "description": "The numeric Lightspeed Retail account identifier, resolved via GET /Account.json."
              },
              {
                "name": "itemID",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the item."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/oauth/authorize",
              "accessTokenUrl": "/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Archives (deletes) an inventory item."
        }
      ]
    }
  ],
  "bundled": true
}