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 (string appId, int? channelId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class AssignAppIdToSalesChannelExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new ChannelsApi();
var appId = appId_example; // string |
var channelId = 56; // int? |
try
{
Object result = apiInstance.AssignAppIdToSalesChannel(appId, channelId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ChannelsApi.AssignAppIdToSalesChannel: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| channelId | int? |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Object AssignStoreToChannel (int? storeId, string appId, int? channelId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class AssignStoreToChannelExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new ChannelsApi();
var storeId = 56; // int? |
var appId = appId_example; // string |
var channelId = 56; // int? |
try
{
Object result = apiInstance.AssignStoreToChannel(storeId, appId, channelId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ChannelsApi.AssignStoreToChannel: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | int? | ||
| appId | string | ||
| channelId | int? |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Object AttachStoreToSalesChannel (string appId, int? channelId, int? storeId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class AttachStoreToSalesChannelExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new ChannelsApi();
var appId = appId_example; // string |
var channelId = 56; // int? |
var storeId = 56; // int? |
try
{
Object result = apiInstance.AttachStoreToSalesChannel(appId, channelId, storeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ChannelsApi.AttachStoreToSalesChannel: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| channelId | int? | ||
| storeId | int? |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Object DetachAllStoresFromSalesChannel (string appId, int? channelId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class DetachAllStoresFromSalesChannelExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new ChannelsApi();
var appId = appId_example; // string |
var channelId = 56; // int? |
try
{
Object result = apiInstance.DetachAllStoresFromSalesChannel(appId, channelId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ChannelsApi.DetachAllStoresFromSalesChannel: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| channelId | int? |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Object DetachStoreFromSalesChannel (string appId, int? channelId, int? storeId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class DetachStoreFromSalesChannelExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new ChannelsApi();
var appId = appId_example; // string |
var channelId = 56; // int? |
var storeId = 56; // int? |
try
{
Object result = apiInstance.DetachStoreFromSalesChannel(appId, channelId, storeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ChannelsApi.DetachStoreFromSalesChannel: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| channelId | int? | ||
| storeId | int? |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestApiArrayResultChannel GetAssignedChannels (string appId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetAssignedChannelsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new ChannelsApi();
var appId = appId_example; // string |
try
{
RestApiArrayResultChannel result = apiInstance.GetAssignedChannels(appId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ChannelsApi.GetAssignedChannels: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestApiArrayResultChannel GetAvailableChannels (string appId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetAvailableChannelsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new ChannelsApi();
var appId = appId_example; // string |
try
{
RestApiArrayResultChannel result = apiInstance.GetAvailableChannels(appId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ChannelsApi.GetAvailableChannels: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestApiResultChannel GetChannel (int? id, string appId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetChannelExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new ChannelsApi();
var id = 56; // int? |
var appId = appId_example; // string |
try
{
RestApiResultChannel result = apiInstance.GetChannel(id, appId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ChannelsApi.GetChannel: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | int? | ||
| appId | string |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestApiArrayResultChannel GetChannels (string appId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetChannelsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new ChannelsApi();
var appId = appId_example; // string |
try
{
RestApiArrayResultChannel result = apiInstance.GetChannels(appId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ChannelsApi.GetChannels: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestApiArrayResultStoreChannelAssignment GetStoresAssignedToChannel (string appId, int? channelId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetStoresAssignedToChannelExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new ChannelsApi();
var appId = appId_example; // string |
var channelId = 56; // int? |
try
{
RestApiArrayResultStoreChannelAssignment result = apiInstance.GetStoresAssignedToChannel(appId, channelId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ChannelsApi.GetStoresAssignedToChannel: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| channelId | int? |
RestApiArrayResultStoreChannelAssignment
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Response GetStoresBySalesChannel (string appId, int? channelId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetStoresBySalesChannelExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new ChannelsApi();
var appId = appId_example; // string |
var channelId = 56; // int? |
try
{
Response result = apiInstance.GetStoresBySalesChannel(appId, channelId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ChannelsApi.GetStoresBySalesChannel: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| channelId | int? |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Object UnassignStoreFromChannel (int? storeId, string appId, int? channelId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class UnassignStoreFromChannelExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new ChannelsApi();
var storeId = 56; // int? |
var appId = appId_example; // string |
var channelId = 56; // int? |
try
{
Object result = apiInstance.UnassignStoreFromChannel(storeId, appId, channelId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ChannelsApi.UnassignStoreFromChannel: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | int? | ||
| appId | string | ||
| channelId | int? |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]