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 classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.LightspeedApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
LightspeedApi apiInstance = new LightspeedApi();
Integer storeId = 56; // Integer |
try {
Object result = apiInstance.lightspeedGenerateMenu(storeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LightspeedApi#lightspeedGenerateMenu");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Integer |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultLightspeedSettings lightspeedGetStoreSettings(storeId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.LightspeedApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
LightspeedApi apiInstance = new LightspeedApi();
Integer storeId = 56; // Integer |
try {
RestApiResultLightspeedSettings result = apiInstance.lightspeedGetStoreSettings(storeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LightspeedApi#lightspeedGetStoreSettings");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Integer |
RestApiResultLightspeedSettings
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultLightspeedSettings lightspeedSaveStoreSettings(storeId, lightspeedSettings)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.LightspeedApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
LightspeedApi apiInstance = new LightspeedApi();
Integer storeId = 56; // Integer |
LightspeedSettings lightspeedSettings = new LightspeedSettings(); // LightspeedSettings |
try {
RestApiResultLightspeedSettings result = apiInstance.lightspeedSaveStoreSettings(storeId, lightspeedSettings);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LightspeedApi#lightspeedSaveStoreSettings");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Integer | ||
| 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