{ "opencollection": "1.0.0", "info": { "name": "Lightspeed Restaurant K Series Account Customer API", "version": "1.0.0" }, "items": [ { "info": { "name": "Customer", "type": "folder" }, "items": [ { "info": { "name": "Lightspeed List Customers", "type": "http" }, "http": { "method": "GET", "url": "https://api.trial.lsk.lightspeed.app/Account/:accountID/Customer.json", "params": [ { "name": "accountID", "value": "", "type": "path", "description": "The numeric Lightspeed Retail account identifier, resolved via GET /Account.json." }, { "name": "limit", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/oauth/authorize", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns customer records for the account." }, { "info": { "name": "Lightspeed Create Customer", "type": "http" }, "http": { "method": "POST", "url": "https://api.trial.lsk.lightspeed.app/Account/:accountID/Customer.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 customer record." }, { "info": { "name": "Lightspeed Get Customer by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.trial.lsk.lightspeed.app/Account/:accountID/Customer/:customerID.json", "params": [ { "name": "accountID", "value": "", "type": "path", "description": "The numeric Lightspeed Retail account identifier, resolved via GET /Account.json." }, { "name": "customerID", "value": "", "type": "path", "description": "The unique identifier of the customer." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/oauth/authorize", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns a single customer by its customerID." } ] } ], "bundled": true }