All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| assignAppIdToSalesChannel | POST /api/v1.0/{appId}/channels/{channelId}/assign-appId | |
| assignStoreToChannel | POST /api/v1.0/{appId}/channels/assign-store | |
| attachStoreToSalesChannel | POST /api/v1.0/{appId}/channels/{channelId}/stores/{storeId} | |
| detachAllStoresFromSalesChannel | DELETE /api/v1.0/{appId}/channels/{channelId}/stores | |
| detachStoreFromSalesChannel | DELETE /api/v1.0/{appId}/channels/{channelId}/stores/{storeId} | |
| getAssignedChannels | GET /api/v1.0/{appId}/channels/assigned-channels | |
| getAvailableChannels | GET /api/v1.0/{appId}/channels/available-channels | |
| getChannel | GET /api/v1.0/{appId}/channels/{id} | |
| getChannels | GET /api/v1.0/{appId}/channels | |
| getStoresAssignedToChannel | GET /api/v1.0/{appId}/channels/{channelId}/assigned-stores | |
| getStoresBySalesChannel | GET /api/v1.0/{appId}/channels/{channelId}/stores | |
| unassignStoreFromChannel | DELETE /api/v1.0/{appId}/channels/unassign-store |
Object assignAppIdToSalesChannel(appId, channelId)
// 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.ChannelsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
ChannelsApi apiInstance = new ChannelsApi();
String appId = "appId_example"; // String |
Integer channelId = 56; // Integer |
try {
Object result = apiInstance.assignAppIdToSalesChannel(appId, channelId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelsApi#assignAppIdToSalesChannel");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| channelId | Integer |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object assignStoreToChannel(storeId, appId, channelId)
// 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.ChannelsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
ChannelsApi apiInstance = new ChannelsApi();
Integer storeId = 56; // Integer |
String appId = "appId_example"; // String |
Integer channelId = 56; // Integer |
try {
Object result = apiInstance.assignStoreToChannel(storeId, appId, channelId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelsApi#assignStoreToChannel");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Integer | ||
| appId | String | ||
| channelId | Integer |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object attachStoreToSalesChannel(appId, channelId, 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.ChannelsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
ChannelsApi apiInstance = new ChannelsApi();
String appId = "appId_example"; // String |
Integer channelId = 56; // Integer |
Integer storeId = 56; // Integer |
try {
Object result = apiInstance.attachStoreToSalesChannel(appId, channelId, storeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelsApi#attachStoreToSalesChannel");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| channelId | Integer | ||
| storeId | Integer |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object detachAllStoresFromSalesChannel(appId, channelId)
// 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.ChannelsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
ChannelsApi apiInstance = new ChannelsApi();
String appId = "appId_example"; // String |
Integer channelId = 56; // Integer |
try {
Object result = apiInstance.detachAllStoresFromSalesChannel(appId, channelId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelsApi#detachAllStoresFromSalesChannel");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| channelId | Integer |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object detachStoreFromSalesChannel(appId, channelId, 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.ChannelsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
ChannelsApi apiInstance = new ChannelsApi();
String appId = "appId_example"; // String |
Integer channelId = 56; // Integer |
Integer storeId = 56; // Integer |
try {
Object result = apiInstance.detachStoreFromSalesChannel(appId, channelId, storeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelsApi#detachStoreFromSalesChannel");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| channelId | Integer | ||
| storeId | Integer |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiArrayResultChannel getAssignedChannels(appId)
// 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.ChannelsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
ChannelsApi apiInstance = new ChannelsApi();
String appId = "appId_example"; // String |
try {
RestApiArrayResultChannel result = apiInstance.getAssignedChannels(appId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelsApi#getAssignedChannels");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiArrayResultChannel getAvailableChannels(appId)
// 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.ChannelsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
ChannelsApi apiInstance = new ChannelsApi();
String appId = "appId_example"; // String |
try {
RestApiArrayResultChannel result = apiInstance.getAvailableChannels(appId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelsApi#getAvailableChannels");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultChannel getChannel(id, appId)
// 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.ChannelsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
ChannelsApi apiInstance = new ChannelsApi();
Integer id = 56; // Integer |
String appId = "appId_example"; // String |
try {
RestApiResultChannel result = apiInstance.getChannel(id, appId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelsApi#getChannel");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | ||
| appId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiArrayResultChannel getChannels(appId)
// 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.ChannelsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
ChannelsApi apiInstance = new ChannelsApi();
String appId = "appId_example"; // String |
try {
RestApiArrayResultChannel result = apiInstance.getChannels(appId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelsApi#getChannels");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiArrayResultStoreChannelAssignment getStoresAssignedToChannel(appId, channelId)
// 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.ChannelsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
ChannelsApi apiInstance = new ChannelsApi();
String appId = "appId_example"; // String |
Integer channelId = 56; // Integer |
try {
RestApiArrayResultStoreChannelAssignment result = apiInstance.getStoresAssignedToChannel(appId, channelId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelsApi#getStoresAssignedToChannel");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| channelId | Integer |
RestApiArrayResultStoreChannelAssignment
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Response getStoresBySalesChannel(appId, channelId)
// 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.ChannelsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
ChannelsApi apiInstance = new ChannelsApi();
String appId = "appId_example"; // String |
Integer channelId = 56; // Integer |
try {
Response result = apiInstance.getStoresBySalesChannel(appId, channelId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelsApi#getStoresBySalesChannel");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| channelId | Integer |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object unassignStoreFromChannel(storeId, appId, channelId)
// 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.ChannelsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
ChannelsApi apiInstance = new ChannelsApi();
Integer storeId = 56; // Integer |
String appId = "appId_example"; // String |
Integer channelId = 56; // Integer |
try {
Object result = apiInstance.unassignStoreFromChannel(storeId, appId, channelId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ChannelsApi#unassignStoreFromChannel");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Integer | ||
| appId | String | ||
| channelId | Integer |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml