All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| AcceptOrder | POST /api/v1.0/orders/{id}/accept | |
| DispatchOrder | POST /api/v1.0/orders/{id}/dispatch | |
| GetDeliveryInformation | GET /api/v1.0/orders/{orderId}/deliveryinfo | |
| GetFulfillmentState | GET /api/v1.0/orders/{orderId}/fulfillment/state | |
| GetFulfillmentStatusWithDetailsAndActions | GET /api/v1.0/orders/{orderId}/fulfillment/state/details | |
| GetOrderById | GET /api/v1.0/orders/{id} | |
| GetOrders | GET /api/v1.0/orders | |
| GetOrdersSummary | GET /api/v1.0/{appId}/orders/summaries | |
| GetOrdersSummaryNew | GET /api/v1.0/{appId}/orders/summariesNew | |
| GetReadyToProcess | GET /api/v1.0/{appId}/orders/ready_to_process | |
| RefundOrder | POST /api/v1.0/orders/{id}/refund | |
| RejectOrder | POST /api/v1.0/orders/{id}/reject | |
| SearchFulfillmentStatuses | GET /api/v1.0/{appId}/orders/fulfillmentstatuses | |
| UpdateDeliveryInformation | POST /api/v1.0/orders/{orderId}/deliveryinfo | |
| UpdateFulfillmentState | POST /api/v1.0/orders/{orderId}/fulfillment/state |
void AcceptOrder (int? id, Accept acceptObject)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class AcceptOrderExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var id = 56; // int? |
var acceptObject = new Accept(); // Accept |
try
{
apiInstance.AcceptOrder(id, acceptObject);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.AcceptOrder: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | int? | ||
| acceptObject | Accept |
void (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
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void DispatchOrder (int? id)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class DispatchOrderExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var id = 56; // int? |
try
{
apiInstance.DispatchOrder(id);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.DispatchOrder: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | int? |
void (empty response body)
- 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]
RestApiResultOrderDeliveryInformation GetDeliveryInformation (int? orderId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetDeliveryInformationExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var orderId = 56; // int? |
try
{
RestApiResultOrderDeliveryInformation result = apiInstance.GetDeliveryInformation(orderId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.GetDeliveryInformation: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | int? |
RestApiResultOrderDeliveryInformation
- 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]
RestApiResultOrderFulfillmentStatus GetFulfillmentState (int? orderId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetFulfillmentStateExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var orderId = 56; // int? |
try
{
RestApiResultOrderFulfillmentStatus result = apiInstance.GetFulfillmentState(orderId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.GetFulfillmentState: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | int? |
RestApiResultOrderFulfillmentStatus
- 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]
RestApiResultOrderFulfillmentStatusWithConfigurationActions GetFulfillmentStatusWithDetailsAndActions (int? orderId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetFulfillmentStatusWithDetailsAndActionsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var orderId = 56; // int? |
try
{
RestApiResultOrderFulfillmentStatusWithConfigurationActions result = apiInstance.GetFulfillmentStatusWithDetailsAndActions(orderId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.GetFulfillmentStatusWithDetailsAndActions: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | int? |
RestApiResultOrderFulfillmentStatusWithConfigurationActions
- 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]
RestApiResultOrder GetOrderById (int? id)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetOrderByIdExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var id = 56; // int? |
try
{
RestApiResultOrder result = apiInstance.GetOrderById(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.GetOrderById: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | 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]
RestApiPaginationResultOrder GetOrders (List<int?> physicalRestaurantId = null, List state = null, DateTime? from = null, DateTime? to = null, int? page = null, int? limit = null)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetOrdersExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var physicalRestaurantId = new List<int?>(); // List<int?> | (optional)
var state = state_example; // List<string> | (optional)
var from = 2013-10-20T19:20:30+01:00; // DateTime? | (optional)
var to = 2013-10-20T19:20:30+01:00; // DateTime? | (optional)
var page = 56; // int? | (optional)
var limit = 56; // int? | (optional)
try
{
RestApiPaginationResultOrder result = apiInstance.GetOrders(physicalRestaurantId, state, from, to, page, limit);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.GetOrders: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| physicalRestaurantId | List<int?> | [optional] | |
| state | List<string> | [optional] | |
| from | DateTime? | [optional] | |
| to | DateTime? | [optional] | |
| page | int? | [optional] | |
| limit | int? | [optional] |
- 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]
RestApiPaginationResultOrderSummary GetOrdersSummary (string appId, string searchQuery = null, List<int?> physicalRestaurantId = null, List state = null, int? page = null, int? limit = null, bool? orderByRequestedForTime = null, List channels = null, List<int?> orderIds = null, DateTime? from = null, DateTime? to = null, bool? logSql = null)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetOrdersSummaryExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var appId = appId_example; // string |
var searchQuery = searchQuery_example; // string | (optional)
var physicalRestaurantId = new List<int?>(); // List<int?> | (optional)
var state = state_example; // List<string> | (optional)
var page = 56; // int? | (optional)
var limit = 56; // int? | (optional)
var orderByRequestedForTime = true; // bool? | (optional)
var channels = channels_example; // List<string> | (optional)
var orderIds = new List<int?>(); // List<int?> | (optional)
var from = 2013-10-20T19:20:30+01:00; // DateTime? | (optional)
var to = 2013-10-20T19:20:30+01:00; // DateTime? | (optional)
var logSql = true; // bool? | (optional)
try
{
RestApiPaginationResultOrderSummary result = apiInstance.GetOrdersSummary(appId, searchQuery, physicalRestaurantId, state, page, limit, orderByRequestedForTime, channels, orderIds, from, to, logSql);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.GetOrdersSummary: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| searchQuery | string | [optional] | |
| physicalRestaurantId | List<int?> | [optional] | |
| state | List<string> | [optional] | |
| page | int? | [optional] | |
| limit | int? | [optional] | |
| orderByRequestedForTime | bool? | [optional] | |
| channels | List<string> | [optional] | |
| orderIds | List<int?> | [optional] | |
| from | DateTime? | [optional] | |
| to | DateTime? | [optional] | |
| logSql | bool? | [optional] |
RestApiPaginationResultOrderSummary
- 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]
RestApiPaginationResultOrderSummary GetOrdersSummaryNew (string appId, string searchQuery = null, List<int?> physicalRestaurantId = null, List state = null, int? page = null, int? limit = null, bool? orderByRequestedForTime = null, List channels = null, List<int?> orderIds = null, DateTime? from = null, DateTime? to = null, bool? logSql = null)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetOrdersSummaryNewExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var appId = appId_example; // string |
var searchQuery = searchQuery_example; // string | (optional)
var physicalRestaurantId = new List<int?>(); // List<int?> | (optional)
var state = state_example; // List<string> | (optional)
var page = 56; // int? | (optional)
var limit = 56; // int? | (optional)
var orderByRequestedForTime = true; // bool? | (optional)
var channels = channels_example; // List<string> | (optional)
var orderIds = new List<int?>(); // List<int?> | (optional)
var from = 2013-10-20T19:20:30+01:00; // DateTime? | (optional)
var to = 2013-10-20T19:20:30+01:00; // DateTime? | (optional)
var logSql = true; // bool? | (optional)
try
{
RestApiPaginationResultOrderSummary result = apiInstance.GetOrdersSummaryNew(appId, searchQuery, physicalRestaurantId, state, page, limit, orderByRequestedForTime, channels, orderIds, from, to, logSql);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.GetOrdersSummaryNew: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| searchQuery | string | [optional] | |
| physicalRestaurantId | List<int?> | [optional] | |
| state | List<string> | [optional] | |
| page | int? | [optional] | |
| limit | int? | [optional] | |
| orderByRequestedForTime | bool? | [optional] | |
| channels | List<string> | [optional] | |
| orderIds | List<int?> | [optional] | |
| from | DateTime? | [optional] | |
| to | DateTime? | [optional] | |
| logSql | bool? | [optional] |
RestApiPaginationResultOrderSummary
- 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]
OrderList GetReadyToProcess (string appId, List<int?> storeId = null)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetReadyToProcessExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var appId = appId_example; // string |
var storeId = new List<int?>(); // List<int?> | (optional)
try
{
OrderList result = apiInstance.GetReadyToProcess(appId, storeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.GetReadyToProcess: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| storeId | List<int?> | [optional] |
- 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]
void RefundOrder (int? id, Refund refundObject)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class RefundOrderExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var id = 56; // int? |
var refundObject = new Refund(); // Refund |
try
{
apiInstance.RefundOrder(id, refundObject);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.RefundOrder: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | int? | ||
| refundObject | Refund |
void (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
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void RejectOrder (int? id, Reject rejectObject)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class RejectOrderExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var id = 56; // int? |
var rejectObject = new Reject(); // Reject |
try
{
apiInstance.RejectOrder(id, rejectObject);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.RejectOrder: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | int? | ||
| rejectObject | Reject |
void (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
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestApiArrayResultOrderFulfillmentStatus SearchFulfillmentStatuses (string appId, string orderIds)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class SearchFulfillmentStatusesExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var appId = appId_example; // string |
var orderIds = orderIds_example; // string |
try
{
RestApiArrayResultOrderFulfillmentStatus result = apiInstance.SearchFulfillmentStatuses(appId, orderIds);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.SearchFulfillmentStatuses: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| orderIds | string |
RestApiArrayResultOrderFulfillmentStatus
- 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]
void UpdateDeliveryInformation (int? orderId, OrderDeliveryInformationBase deliveryInformation)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class UpdateDeliveryInformationExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var orderId = 56; // int? |
var deliveryInformation = new OrderDeliveryInformationBase(); // OrderDeliveryInformationBase |
try
{
apiInstance.UpdateDeliveryInformation(orderId, deliveryInformation);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.UpdateDeliveryInformation: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | int? | ||
| deliveryInformation | OrderDeliveryInformationBase |
void (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
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void UpdateFulfillmentState (int? orderId, OrderFulfillmentStatusUpdate fulfillmentStatusRequest)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class UpdateFulfillmentStateExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrdersApi();
var orderId = 56; // int? |
var fulfillmentStatusRequest = new OrderFulfillmentStatusUpdate(); // OrderFulfillmentStatusUpdate |
try
{
apiInstance.UpdateFulfillmentState(orderId, fulfillmentStatusRequest);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrdersApi.UpdateFulfillmentState: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | int? | ||
| fulfillmentStatusRequest | OrderFulfillmentStatusUpdate |
void (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
[Back to top] [Back to API list] [Back to Model list] [Back to README]