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 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.OrdersApi();
let id = 56; // Number |
let acceptObject = new Flipdish.Accept(); // Accept |
apiInstance.acceptOrder(id, acceptObject, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| id | Number | ||
| 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, Message, ErrorCode, StackTrace
dispatchOrder(id)
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.OrdersApi();
let id = 56; // Number |
apiInstance.dispatchOrder(id, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| id | Number |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
RestApiResultOrderDeliveryInformation getDeliveryInformation(orderId)
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.OrdersApi();
let orderId = 56; // Number |
apiInstance.getDeliveryInformation(orderId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Number |
RestApiResultOrderDeliveryInformation
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultOrderFulfillmentStatus getFulfillmentState(orderId)
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.OrdersApi();
let orderId = 56; // Number |
apiInstance.getFulfillmentState(orderId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Number |
RestApiResultOrderFulfillmentStatus
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultOrderFulfillmentStatusWithConfigurationActions getFulfillmentStatusWithDetailsAndActions(orderId)
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.OrdersApi();
let orderId = 56; // Number |
apiInstance.getFulfillmentStatusWithDetailsAndActions(orderId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Number |
RestApiResultOrderFulfillmentStatusWithConfigurationActions
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultOrder getOrderById(id)
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.OrdersApi();
let id = 56; // Number |
apiInstance.getOrderById(id, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| id | Number |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message
RestApiPaginationResultOrder getOrders(opts)
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.OrdersApi();
let opts = {
'physicalRestaurantId': [null], // [Number] |
'state': ["null"], // [String] |
'from': new Date("2013-10-20T19:20:30+01:00"), // Date |
'to': new Date("2013-10-20T19:20:30+01:00"), // Date |
'page': 56, // Number |
'limit': 56 // Number |
};
apiInstance.getOrders(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| physicalRestaurantId | [Number] | [optional] | |
| state | [String] | [optional] | |
| from | Date | [optional] | |
| to | Date | [optional] | |
| page | Number | [optional] | |
| limit | Number | [optional] |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message
RestApiPaginationResultOrderSummary getOrdersSummary(appId, opts)
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.OrdersApi();
let appId = "appId_example"; // String |
let opts = {
'searchQuery': "searchQuery_example", // String |
'physicalRestaurantId': [null], // [Number] |
'state': ["null"], // [String] |
'page': 56, // Number |
'limit': 56, // Number |
'orderByRequestedForTime': true, // Boolean |
'channels': ["null"], // [String] |
'orderIds': [null], // [Number] |
'from': new Date("2013-10-20T19:20:30+01:00"), // Date |
'to': new Date("2013-10-20T19:20:30+01:00"), // Date |
'logSql': true // Boolean |
};
apiInstance.getOrdersSummary(appId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| searchQuery | String | [optional] | |
| physicalRestaurantId | [Number] | [optional] | |
| state | [String] | [optional] | |
| page | Number | [optional] | |
| limit | Number | [optional] | |
| orderByRequestedForTime | Boolean | [optional] | |
| channels | [String] | [optional] | |
| orderIds | [Number] | [optional] | |
| from | Date | [optional] | |
| to | Date | [optional] | |
| logSql | Boolean | [optional] |
RestApiPaginationResultOrderSummary
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message
RestApiPaginationResultOrderSummary getOrdersSummaryNew(appId, opts)
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.OrdersApi();
let appId = "appId_example"; // String |
let opts = {
'searchQuery': "searchQuery_example", // String |
'physicalRestaurantId': [null], // [Number] |
'state': ["null"], // [String] |
'page': 56, // Number |
'limit': 56, // Number |
'orderByRequestedForTime': true, // Boolean |
'channels': ["null"], // [String] |
'orderIds': [null], // [Number] |
'from': new Date("2013-10-20T19:20:30+01:00"), // Date |
'to': new Date("2013-10-20T19:20:30+01:00"), // Date |
'logSql': true // Boolean |
};
apiInstance.getOrdersSummaryNew(appId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| searchQuery | String | [optional] | |
| physicalRestaurantId | [Number] | [optional] | |
| state | [String] | [optional] | |
| page | Number | [optional] | |
| limit | Number | [optional] | |
| orderByRequestedForTime | Boolean | [optional] | |
| channels | [String] | [optional] | |
| orderIds | [Number] | [optional] | |
| from | Date | [optional] | |
| to | Date | [optional] | |
| logSql | Boolean | [optional] |
RestApiPaginationResultOrderSummary
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message
OrderList getReadyToProcess(appId, opts)
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.OrdersApi();
let appId = "appId_example"; // String |
let opts = {
'storeId': [null] // [Number] |
};
apiInstance.getReadyToProcess(appId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| storeId | [Number] | [optional] |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Message
refundOrder(id, refundObject)
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.OrdersApi();
let id = 56; // Number |
let refundObject = new Flipdish.Refund(); // Refund |
apiInstance.refundOrder(id, refundObject, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| id | Number | ||
| 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, Message, ErrorCode, StackTrace
rejectOrder(id, rejectObject)
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.OrdersApi();
let id = 56; // Number |
let rejectObject = new Flipdish.Reject(); // Reject |
apiInstance.rejectOrder(id, rejectObject, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| id | Number | ||
| 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, Message, ErrorCode, StackTrace
RestApiArrayResultOrderFulfillmentStatus searchFulfillmentStatuses(appId, orderIds)
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.OrdersApi();
let appId = "appId_example"; // String |
let orderIds = "orderIds_example"; // String |
apiInstance.searchFulfillmentStatuses(appId, orderIds, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| orderIds | String |
RestApiArrayResultOrderFulfillmentStatus
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
updateDeliveryInformation(orderId, deliveryInformation)
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.OrdersApi();
let orderId = 56; // Number |
let deliveryInformation = new Flipdish.OrderDeliveryInformationBase(); // OrderDeliveryInformationBase |
apiInstance.updateDeliveryInformation(orderId, deliveryInformation, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Number | ||
| 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 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.OrdersApi();
let orderId = 56; // Number |
let fulfillmentStatusRequest = new Flipdish.OrderFulfillmentStatusUpdate(); // OrderFulfillmentStatusUpdate |
apiInstance.updateFulfillmentState(orderId, fulfillmentStatusRequest, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Number | ||
| 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