Set up the Lightspeed Restaurant integration
Explore our API integration with Lightspeed Restaurant - K Series
Set up the LightSpeed Restaurant integration to retrieve sales and order information from your customers who use Lightspeed Restaurant - K Series to run their food or hospitality business.
Before you can use the integration, you'll need to join the LightSpeed partner programme to get access to their APIsAPI A set of rules and protocols that allows different software applications to communicate with each other. Codat provides APIs for accessing financial data from accounting, banking, and commerce platforms.. You can read more about the program on their website.
To set up the integration, you'll need to perform these tasks:
- Sign up to be a Lightspeed Partner, then apply for APIAPI A set of rules and protocols that allows different software applications to communicate with each other. Codat provides APIs for accessing financial data from accounting, banking, and commerce platforms. credentials
- Retrieve your credentials and enter them into the Codat developer portal
- Enable the integration
- Create companies in Codat and then share the LinkLink The authorization flow that allows end users to connect their accounting, banking, or commerce platforms to your application via Codat. URL with your SMBSMB The primary customer segment that Codat helps businesses serve, typically companies with annual revenues under $500 million. customers
Register as a Lightspeed Development Partner
To register as a partner, you'll first need to complete the Partner Application form. When asked how you plan to earn revenue as a Lightspeed Partner, choose Integrate to Lightspeed POS or Build an App, and then complete the restREST An architectural style for designing networked applications. Codat's APIs follow REST principles, using standard HTTP methods. of the fields accordingly.
If you're asked which product you intend to integrate with, make sure you select Restaurant. Codat's integration does not work with Lightspeed Retail products at this time.
Receive your development credentials
Once your partner application has been approved, you should receive details of how to access a form that allows you to request APIAPI A set of rules and protocols that allows different software applications to communicate with each other. Codat provides APIs for accessing financial data from accounting, banking, and commerce platforms. Credentials. You'll first need to ask for a Staging client, which will be used for testing and to demonstrate your app to your Lightspeed contact, who will then advise when to apply for a Production client.
When completing the form you may be asked for the following information:
- Redirect URI: This should be
https://lightspeedk.codat.io/oauth/callback - Scopes: Please select
Financial,Items, andOrder & Pay. - Test POS Account: Select this option if you would like a test Lightspeed K account to use for your testing. This account will only be able to connect to your staging app.
Add your app's secure credentials to the integration
Once your application has been processed, you should be sent your credentials to the specified email address. Next, you will need to add these into the Codat Portal:
-
On the navigation bar, select Settings > Integrations > Commerce.
-
Select the correct integration depending on whether you're configuring your app for testing or use by live clients
- For testing, click Set up next to the Lightspeed K Trial integration.
- For production, click Set up next to the Lightspeed K integration.
The Integration settings page is displayed.
-
Under Access to companyCompany In Codat, a company represents your customer's business entity. Companies can have multiple connections to different data sources. data, configure the permitted syncSync The process of fetching the latest data from a connected data source. Syncs can be triggered manually or run automatically on a schedule. frequency for the integration. Select Allow one-off data syncSync The process of fetching the latest data from a connected data source. Syncs can be triggered manually or run automatically on a schedule.… or Allow continuous data syncSync The process of fetching the latest data from a connected data source. Syncs can be triggered manually or run automatically on a schedule..
-
Enter the provided Client ID for your Lightspeed K app in the Client ID box.
- For testing, enter the Staging Client ID from Lightspeed.
- For production, enter the Production Client ID from Lightspeed.
-
Enter the application secret for your Lightspeed K app in the Client Secret box.
- For testing, enter the Staging Client secret from Lightspeed.
- For production, enter the Production Client secret from Lightspeed.
-
Click Save
Enable the Lightspeed Restaurant integration
- In the Codat Portal, go to the Commerce integrations page.
- Locate Lightspeed K or Lightspeed K Trial and click the toggle to enable the integration.
You can also click Manage to view the integration's settings page, and then enable the integration from there.
Check the commerce syncSync The process of fetching the latest data from a connected data source. Syncs can be triggered manually or run automatically on a schedule. settings
Syncing of all commerce data types must be enabled before you can read commerce transactions from Square to Codat. Follow the steps in Commerce sync settings; you only need to do this once.