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 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.ChannelsApi();
let appId = "appId_example"; // String |
let channelId = 56; // Number |
apiInstance.assignAppIdToSalesChannel(appId, channelId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| channelId | Number |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object assignStoreToChannel(storeId, appId, channelId)
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.ChannelsApi();
let storeId = 56; // Number |
let appId = "appId_example"; // String |
let channelId = 56; // Number |
apiInstance.assignStoreToChannel(storeId, appId, channelId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| appId | String | ||
| channelId | Number |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object attachStoreToSalesChannel(appId, channelId, 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.ChannelsApi();
let appId = "appId_example"; // String |
let channelId = 56; // Number |
let storeId = 56; // Number |
apiInstance.attachStoreToSalesChannel(appId, channelId, storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| channelId | Number | ||
| storeId | Number |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object detachAllStoresFromSalesChannel(appId, channelId)
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.ChannelsApi();
let appId = "appId_example"; // String |
let channelId = 56; // Number |
apiInstance.detachAllStoresFromSalesChannel(appId, channelId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| channelId | Number |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object detachStoreFromSalesChannel(appId, channelId, 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.ChannelsApi();
let appId = "appId_example"; // String |
let channelId = 56; // Number |
let storeId = 56; // Number |
apiInstance.detachStoreFromSalesChannel(appId, channelId, storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| channelId | Number | ||
| storeId | Number |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiArrayResultChannel getAssignedChannels(appId)
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.ChannelsApi();
let appId = "appId_example"; // String |
apiInstance.getAssignedChannels(appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiArrayResultChannel getAvailableChannels(appId)
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.ChannelsApi();
let appId = "appId_example"; // String |
apiInstance.getAvailableChannels(appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultChannel getChannel(id, appId)
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.ChannelsApi();
let id = 56; // Number |
let appId = "appId_example"; // String |
apiInstance.getChannel(id, appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| id | Number | ||
| appId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiArrayResultChannel getChannels(appId)
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.ChannelsApi();
let appId = "appId_example"; // String |
apiInstance.getChannels(appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiArrayResultStoreChannelAssignment getStoresAssignedToChannel(appId, channelId)
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.ChannelsApi();
let appId = "appId_example"; // String |
let channelId = 56; // Number |
apiInstance.getStoresAssignedToChannel(appId, channelId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| channelId | Number |
RestApiArrayResultStoreChannelAssignment
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Response getStoresBySalesChannel(appId, channelId)
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.ChannelsApi();
let appId = "appId_example"; // String |
let channelId = 56; // Number |
apiInstance.getStoresBySalesChannel(appId, channelId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| channelId | Number |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object unassignStoreFromChannel(storeId, appId, channelId)
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.ChannelsApi();
let storeId = 56; // Number |
let appId = "appId_example"; // String |
let channelId = 56; // Number |
apiInstance.unassignStoreFromChannel(storeId, appId, channelId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| appId | String | ||
| channelId | Number |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml