How to connect Lightspeed to API2Cart?
This guide will show you how to connect your Lightspeed store to API2Cart in just a few steps.
Firstly, you need to specify the following credentials:
- lightspeed_api_key
- lightspeed_api_secret

There are two ways to get them:
- The store owners can contact the LightSpeed Customer Service department in order to receive api_key and api_secret credentials.
- You can develop your App and publish it on LightSpeed Store App. After that, you will get APP_KEY and APP_SECRET. Then you should specify the callback URL to which store credentials come. You can do it in the partner environment (Under ‘Apps > (APP NAME) > Success URL’).
When the store owner installs your App, credentials to the store will come to your callback URL (language, shop id, signature, timestamp, token, and cluster_id). From all the credentials you need only a token. Now you have credentials needed for adding Lightspeed to API2Cart.
- lightspeed_api_key = APP_KEY
- lightspeed_api_secret = md5(token + APP_SECRET);
More info you can find on LightSpeed docs.