All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| lightspeedGenerateMenu | POST /api/v1.0/lightspeed/{storeId}/menu/generate | |
| lightspeedGetStoreSettings | GET /api/v1.0/lightspeed/{storeId}/settings | |
| lightspeedSaveStoreSettings | POST /api/v1.0/lightspeed/{storeId}/settings |
Object lightspeedGenerateMenu(storeId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.LightspeedApi();
let storeId = 56; // Number |
apiInstance.lightspeedGenerateMenu(storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultLightspeedSettings lightspeedGetStoreSettings(storeId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.LightspeedApi();
let storeId = 56; // Number |
apiInstance.lightspeedGetStoreSettings(storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number |
RestApiResultLightspeedSettings
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultLightspeedSettings lightspeedSaveStoreSettings(storeId, lightspeedSettings)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.LightspeedApi();
let storeId = 56; // Number |
let lightspeedSettings = new Flipdish.LightspeedSettings(); // LightspeedSettings |
apiInstance.lightspeedSaveStoreSettings(storeId, lightspeedSettings, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| lightspeedSettings | LightspeedSettings |
RestApiResultLightspeedSettings
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, Data