Getting Started
To integrate with the LOKE Platform you will need the following:
- API credentials, which you can get from your partnership or project manager
- Follow the steps one of the integration guides at the end of this page
- Using our API reference (see side navigation)
If you have any technical difficulties, contact your partnership or project manager who will help you throughout the integration process and put you in contact with relevant technical advice.
Making Requests
-
Authorization is needed to access most of the endpoints; however, the /status endpoint doesn't need authorization.
-
The token is tied to the organization hence you will need to generate a new token with another orgId if you want to access another organization.
-
See Authentication for more details.
Usage
- Add this access token to your request header.
Example:
const token = "YOUR_ACCESS_TOKEN";
fetch("https://api.loke.global/organizations/{orgId}/locations/{locId}/menu", {
method: "GET",
headers: {
authorization: `Bearer ${token}`,
},
});
Next
If you are looking to integrate a POS for ordering, please check out the Menu Integration Guide first. Once menus are integrated then check out the Order Flow Guide
If you are looking to integrate a CRM, please check out the CRM Integration Guide.