All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| assignStoresToStoreGroup | POST /api/v1.0/{appId}/storegroups/{storeGroupId}/assignStores | |
| createStoreGroup | POST /api/v1.0/{appNameId}/storegroups | |
| getStoreGroup | GET /api/v1.0/storegroups/{storeGroupId} | |
| getStoreGroups | GET /api/v1.0/{appNameId}/storegroups | |
| getStoreGroupsExtended | GET /api/v1.0/{appNameId}/storegroups/extended | |
| removeStoreGroup | DELETE /api/v1.0/storegroups/{storeGroupId} | |
| setCustomerMessages | POST /api/v1.0/storegroups/{storeGroupId}/CustomerMessages | |
| updateStoreGroup | POST /api/v1.0/storegroups/{storeGroupId} |
assignStoresToStoreGroup(appId, storeGroupId, storeIds)
// 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.StoreGroupsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
StoreGroupsApi apiInstance = new StoreGroupsApi();
String appId = "appId_example"; // String |
Integer storeGroupId = 56; // Integer |
List<Integer> storeIds = Arrays.asList(new List<Integer>()); // List<Integer> |
try {
apiInstance.assignStoresToStoreGroup(appId, storeGroupId, storeIds);
} catch (ApiException e) {
System.err.println("Exception when calling StoreGroupsApi#assignStoresToStoreGroup");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| storeGroupId | Integer | ||
| storeIds | List<Integer> |
null (empty response body)
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultStoreGroup createStoreGroup(appNameId, storeGroup)
// 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.StoreGroupsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
StoreGroupsApi apiInstance = new StoreGroupsApi();
String appNameId = "appNameId_example"; // String |
StoreGroupBase storeGroup = new StoreGroupBase(); // StoreGroupBase |
try {
RestApiResultStoreGroup result = apiInstance.createStoreGroup(appNameId, storeGroup);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling StoreGroupsApi#createStoreGroup");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appNameId | String | ||
| storeGroup | StoreGroupBase |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultStoreGroup getStoreGroup(storeGroupId)
// 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.StoreGroupsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
StoreGroupsApi apiInstance = new StoreGroupsApi();
Integer storeGroupId = 56; // Integer |
try {
RestApiResultStoreGroup result = apiInstance.getStoreGroup(storeGroupId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling StoreGroupsApi#getStoreGroup");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeGroupId | Integer |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiPaginationResultStoreGroup getStoreGroups(appNameId, searchQuery, page, limit)
// 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.StoreGroupsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
StoreGroupsApi apiInstance = new StoreGroupsApi();
String appNameId = "appNameId_example"; // String |
String searchQuery = "searchQuery_example"; // String |
Integer page = 56; // Integer |
Integer limit = 56; // Integer |
try {
RestApiPaginationResultStoreGroup result = apiInstance.getStoreGroups(appNameId, searchQuery, page, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling StoreGroupsApi#getStoreGroups");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appNameId | String | ||
| searchQuery | String | [optional] | |
| page | Integer | [optional] | |
| limit | Integer | [optional] |
RestApiPaginationResultStoreGroup
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiPaginationResultStoreGroupExtended getStoreGroupsExtended(appNameId, searchQuery, page, limit, groupingRadius)
// 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.StoreGroupsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
StoreGroupsApi apiInstance = new StoreGroupsApi();
String appNameId = "appNameId_example"; // String |
String searchQuery = "searchQuery_example"; // String |
Integer page = 56; // Integer |
Integer limit = 56; // Integer |
Integer groupingRadius = 56; // Integer |
try {
RestApiPaginationResultStoreGroupExtended result = apiInstance.getStoreGroupsExtended(appNameId, searchQuery, page, limit, groupingRadius);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling StoreGroupsApi#getStoreGroupsExtended");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appNameId | String | ||
| searchQuery | String | [optional] | |
| page | Integer | [optional] | |
| limit | Integer | [optional] | |
| groupingRadius | Integer | [optional] |
RestApiPaginationResultStoreGroupExtended
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
removeStoreGroup(storeGroupId)
// 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.StoreGroupsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
StoreGroupsApi apiInstance = new StoreGroupsApi();
Integer storeGroupId = 56; // Integer |
try {
apiInstance.removeStoreGroup(storeGroupId);
} catch (ApiException e) {
System.err.println("Exception when calling StoreGroupsApi#removeStoreGroup");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeGroupId | Integer |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
setCustomerMessages(storeGroupId, customerMessages)
// 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.StoreGroupsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
StoreGroupsApi apiInstance = new StoreGroupsApi();
Integer storeGroupId = 56; // Integer |
CustomerMessages customerMessages = new CustomerMessages(); // CustomerMessages |
try {
apiInstance.setCustomerMessages(storeGroupId, customerMessages);
} catch (ApiException e) {
System.err.println("Exception when calling StoreGroupsApi#setCustomerMessages");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeGroupId | Integer | ||
| customerMessages | CustomerMessages |
null (empty response body)
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultStoreGroupBase updateStoreGroup(storeGroupId, storeGroup)
// 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.StoreGroupsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
StoreGroupsApi apiInstance = new StoreGroupsApi();
Integer storeGroupId = 56; // Integer |
StoreGroupBase storeGroup = new StoreGroupBase(); // StoreGroupBase |
try {
RestApiResultStoreGroupBase result = apiInstance.updateStoreGroup(storeGroupId, storeGroup);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling StoreGroupsApi#updateStoreGroup");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeGroupId | Integer | ||
| storeGroup | StoreGroupBase |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml