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 |
acceptOrder(id, acceptObject)
// 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
Integer id = 56; // Integer |
Accept acceptObject = new Accept(); // Accept |
try {
apiInstance.acceptOrder(id, acceptObject);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#acceptOrder");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | ||
| acceptObject | Accept |
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
dispatchOrder(id)
// 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
Integer id = 56; // Integer |
try {
apiInstance.dispatchOrder(id);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#dispatchOrder");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultOrderDeliveryInformation getDeliveryInformation(orderId)
// 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
Integer orderId = 56; // Integer |
try {
RestApiResultOrderDeliveryInformation result = apiInstance.getDeliveryInformation(orderId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#getDeliveryInformation");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Integer |
RestApiResultOrderDeliveryInformation
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultOrderFulfillmentStatus getFulfillmentState(orderId)
// 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
Integer orderId = 56; // Integer |
try {
RestApiResultOrderFulfillmentStatus result = apiInstance.getFulfillmentState(orderId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#getFulfillmentState");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Integer |
RestApiResultOrderFulfillmentStatus
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultOrderFulfillmentStatusWithConfigurationActions getFulfillmentStatusWithDetailsAndActions(orderId)
// 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
Integer orderId = 56; // Integer |
try {
RestApiResultOrderFulfillmentStatusWithConfigurationActions result = apiInstance.getFulfillmentStatusWithDetailsAndActions(orderId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#getFulfillmentStatusWithDetailsAndActions");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Integer |
RestApiResultOrderFulfillmentStatusWithConfigurationActions
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultOrder getOrderById(id)
// 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
Integer id = 56; // Integer |
try {
RestApiResultOrder result = apiInstance.getOrderById(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#getOrderById");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiPaginationResultOrder getOrders(physicalRestaurantId, state, from, to, 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
List<Integer> physicalRestaurantId = Arrays.asList(56); // List<Integer> |
List<String> state = Arrays.asList("state_example"); // List<String> |
OffsetDateTime from = OffsetDateTime.now(); // OffsetDateTime |
OffsetDateTime to = OffsetDateTime.now(); // OffsetDateTime |
Integer page = 56; // Integer |
Integer limit = 56; // Integer |
try {
RestApiPaginationResultOrder result = apiInstance.getOrders(physicalRestaurantId, state, from, to, page, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#getOrders");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| physicalRestaurantId | List<Integer> | [optional] | |
| state | List<String> | [optional] [enum: Created, PlacedCanBeCancelled, ReadyToProcess, AcceptedByRestaurant, Dispatched, Delivered, Cancelled, ManualReview, RejectedByStore, RejectedByFlipdish, RejectedAutomatically, RejectedAfterBeingAccepted, AcceptedAndRefunded, PendingPayment] | |
| from | OffsetDateTime | [optional] | |
| to | OffsetDateTime | [optional] | |
| page | Integer | [optional] | |
| limit | Integer | [optional] |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiPaginationResultOrderSummary getOrdersSummary(appId, searchQuery, physicalRestaurantId, state, page, limit, orderByRequestedForTime, channels, orderIds, from, to, logSql)
// 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
String appId = "appId_example"; // String |
String searchQuery = "searchQuery_example"; // String |
List<Integer> physicalRestaurantId = Arrays.asList(56); // List<Integer> |
List<String> state = Arrays.asList("state_example"); // List<String> |
Integer page = 56; // Integer |
Integer limit = 56; // Integer |
Boolean orderByRequestedForTime = true; // Boolean |
List<String> channels = Arrays.asList("channels_example"); // List<String> |
List<Integer> orderIds = Arrays.asList(56); // List<Integer> |
OffsetDateTime from = OffsetDateTime.now(); // OffsetDateTime |
OffsetDateTime to = OffsetDateTime.now(); // OffsetDateTime |
Boolean logSql = true; // Boolean |
try {
RestApiPaginationResultOrderSummary result = apiInstance.getOrdersSummary(appId, searchQuery, physicalRestaurantId, state, page, limit, orderByRequestedForTime, channels, orderIds, from, to, logSql);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#getOrdersSummary");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| searchQuery | String | [optional] | |
| physicalRestaurantId | List<Integer> | [optional] | |
| state | List<String> | [optional] [enum: Created, PlacedCanBeCancelled, ReadyToProcess, AcceptedByRestaurant, Dispatched, Delivered, Cancelled, ManualReview, RejectedByStore, RejectedByFlipdish, RejectedAutomatically, RejectedAfterBeingAccepted, AcceptedAndRefunded, PendingPayment] | |
| page | Integer | [optional] | |
| limit | Integer | [optional] | |
| orderByRequestedForTime | Boolean | [optional] | |
| channels | List<String> | [optional] [enum: Unknown, Ios, Android, Web, Kiosk, Pos, TelephoneCall, Sms, PwaAndroid, PwaIos, Google, Photon] | |
| orderIds | List<Integer> | [optional] | |
| from | OffsetDateTime | [optional] | |
| to | OffsetDateTime | [optional] | |
| logSql | Boolean | [optional] |
RestApiPaginationResultOrderSummary
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiPaginationResultOrderSummary getOrdersSummaryNew(appId, searchQuery, physicalRestaurantId, state, page, limit, orderByRequestedForTime, channels, orderIds, from, to, logSql)
// 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
String appId = "appId_example"; // String |
String searchQuery = "searchQuery_example"; // String |
List<Integer> physicalRestaurantId = Arrays.asList(56); // List<Integer> |
List<String> state = Arrays.asList("state_example"); // List<String> |
Integer page = 56; // Integer |
Integer limit = 56; // Integer |
Boolean orderByRequestedForTime = true; // Boolean |
List<String> channels = Arrays.asList("channels_example"); // List<String> |
List<Integer> orderIds = Arrays.asList(56); // List<Integer> |
OffsetDateTime from = OffsetDateTime.now(); // OffsetDateTime |
OffsetDateTime to = OffsetDateTime.now(); // OffsetDateTime |
Boolean logSql = true; // Boolean |
try {
RestApiPaginationResultOrderSummary result = apiInstance.getOrdersSummaryNew(appId, searchQuery, physicalRestaurantId, state, page, limit, orderByRequestedForTime, channels, orderIds, from, to, logSql);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#getOrdersSummaryNew");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| searchQuery | String | [optional] | |
| physicalRestaurantId | List<Integer> | [optional] | |
| state | List<String> | [optional] [enum: Created, PlacedCanBeCancelled, ReadyToProcess, AcceptedByRestaurant, Dispatched, Delivered, Cancelled, ManualReview, RejectedByStore, RejectedByFlipdish, RejectedAutomatically, RejectedAfterBeingAccepted, AcceptedAndRefunded, PendingPayment] | |
| page | Integer | [optional] | |
| limit | Integer | [optional] | |
| orderByRequestedForTime | Boolean | [optional] | |
| channels | List<String> | [optional] [enum: Unknown, Ios, Android, Web, Kiosk, Pos, TelephoneCall, Sms, PwaAndroid, PwaIos, Google, Photon] | |
| orderIds | List<Integer> | [optional] | |
| from | OffsetDateTime | [optional] | |
| to | OffsetDateTime | [optional] | |
| logSql | Boolean | [optional] |
RestApiPaginationResultOrderSummary
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
OrderList getReadyToProcess(appId, 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
String appId = "appId_example"; // String |
List<Integer> storeId = Arrays.asList(56); // List<Integer> |
try {
OrderList result = apiInstance.getReadyToProcess(appId, storeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#getReadyToProcess");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| storeId | List<Integer> | [optional] |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
refundOrder(id, refundObject)
// 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
Integer id = 56; // Integer |
Refund refundObject = new Refund(); // Refund |
try {
apiInstance.refundOrder(id, refundObject);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#refundOrder");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | ||
| refundObject | Refund |
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
rejectOrder(id, rejectObject)
// 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
Integer id = 56; // Integer |
Reject rejectObject = new Reject(); // Reject |
try {
apiInstance.rejectOrder(id, rejectObject);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#rejectOrder");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | ||
| rejectObject | Reject |
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
RestApiArrayResultOrderFulfillmentStatus searchFulfillmentStatuses(appId, orderIds)
// 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
String appId = "appId_example"; // String |
String orderIds = "orderIds_example"; // String |
try {
RestApiArrayResultOrderFulfillmentStatus result = apiInstance.searchFulfillmentStatuses(appId, orderIds);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#searchFulfillmentStatuses");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| orderIds | String |
RestApiArrayResultOrderFulfillmentStatus
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
updateDeliveryInformation(orderId, deliveryInformation)
// 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
Integer orderId = 56; // Integer |
OrderDeliveryInformationBase deliveryInformation = new OrderDeliveryInformationBase(); // OrderDeliveryInformationBase |
try {
apiInstance.updateDeliveryInformation(orderId, deliveryInformation);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#updateDeliveryInformation");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Integer | ||
| deliveryInformation | OrderDeliveryInformationBase |
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
updateFulfillmentState(orderId, fulfillmentStatusRequest)
// 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.OrdersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
OrdersApi apiInstance = new OrdersApi();
Integer orderId = 56; // Integer |
OrderFulfillmentStatusUpdate fulfillmentStatusRequest = new OrderFulfillmentStatusUpdate(); // OrderFulfillmentStatusUpdate |
try {
apiInstance.updateFulfillmentState(orderId, fulfillmentStatusRequest);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#updateFulfillmentState");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Integer | ||
| fulfillmentStatusRequest | OrderFulfillmentStatusUpdate |
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