All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| archiveStore | POST /api/v1.0/stores/{storeId}/archive | |
| assignMenu | POST /api/v1.0/stores/{storeId}/menu/{menuId} | |
| cloneStore | POST /api/v1.0/stores/{storeId}/clone | |
| configureStoreServiceCharge | POST /api/v1.0/stores/{storeId}/servicecharge | |
| createBusinessHoursOverrideByStoreId | POST /api/v1.0/stores/{storeId}/businesshoursoverrides | |
| createStore | POST /api/v1.0/stores | |
| createStoreInProperty | POST /api/v1.0/properties/{propertyId}/stores | |
| deleteBusinessHoursOverride | DELETE /api/v1.0/stores/{storeId}/businesshoursoverrides/{businessHoursOverrideId} | |
| getBankAccountForStore | GET /api/v1.0/stores/{storeId}/bankaccount | |
| getBusinessHours | GET /api/v1.0/stores/{storeId}/availability/{deliveryType} | |
| getBusinessHoursOverrideByStoreId | GET /api/v1.0/stores/{storeId}/businesshoursoverrides | |
| getEndOfDayReport | GET /api/v1.0/stores/{storeId}/endofdayreport | |
| getPreOrderConfig | GET /api/v1.0/stores/{storeId}/preorderconfig/{deliveryType} | |
| getPreOrderPreview | GET /api/v1.0/stores/{storeId}/preorderconfig/{deliveryType}/preview | |
| getProcessingFeeConfigsByStoreId | GET /api/v1.0/stores/{storeId}/processingfeeconfigs | |
| getProcessingFeeConfigsByStoreIdAndPaymentAccountType | GET /api/v1.0/stores/{storeId}/processingfeeconfigs/{paymentAccountType} | |
| getStoreById | GET /api/v1.0/stores/{storeId} | |
| getStoreDeliveryFeeConfig | GET /api/v1.0/stores/{storeId}/feeConfig/deliveryZones | |
| getStoreFeeConfig | GET /api/v1.0/stores/{storeId}/feeConfig | |
| getStoreHeadersByAppId | GET /api/v1.0/{appId}/stores/header | |
| getStoreLeadTimes | GET /api/v1.0/stores/{storeId}/leadTimes | |
| getStoreNetSales | GET /api/v1.0/{appId}/stores/stats | |
| getStoreServiceCharge | GET /api/v1.0/stores/{storeId}/servicecharge | |
| getStores | GET /api/v1.0/stores | |
| getStoresByAppId | GET /api/v1.0/{appId}/stores | |
| getStoresByStoreIdWithValidations | GET /api/v1.0/{appId}/storevalidation/kiosk | |
| publishStore | POST /api/v1.0/stores/{storeId}/publish | |
| putStoreDeliveryFeeConfig | PUT /api/v1.0/stores/{storeId}/feeConfig/deliveryZones | |
| setBusinessHours | POST /api/v1.0/stores/{storeId}/availability/{deliveryType} | |
| setPreOrdeEnabled | POST /api/v1.0/stores/{storeId}/preorderconfig/{deliveryType}/enabled | |
| setStoreCollectionSettings | POST /api/v1.0/stores/{storeId}/collectionsettings | |
| setStoreLeadTimes | POST /api/v1.0/stores/{storeId}/leadTimes | |
| storesSetPropertyId | POST /api/v1.0/stores/{storeId}/propertyId/{propertyId} | |
| supportedSalesChannelsTypes | POST /api/v1.0/properties/{propertyId}/stores/{storeId}/supportedSalesChannels | |
| unpublishStore | POST /api/v1.0/stores/{storeId}/unpublish | |
| updatePreOrderConfig | POST /api/v1.0/stores/{storeId}/preorderconfig/{deliveryType} | |
| updateStore | POST /api/v1.0/stores/{storeId} | |
| updateStoreAddress | POST /api/v1.0/stores/{storeId}/address | |
| updateStoreAddressCoordinates | POST /api/v1.0/stores/{storeId}/address/coordinates | |
| updateStoreAddressForm | POST /api/v1.0/stores/{storeId}/addressform |
archiveStore(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.StoresApi();
let storeId = 56; // Number |
apiInstance.archiveStore(storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number |
null (empty response body)
- Content-Type: Not defined
- Accept: Data, application/json, text/json, application/xml, text/xml
RestApiArrayResultRestApiDefaultResponse assignMenu(storeId, menuId)
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.StoresApi();
let storeId = 56; // Number |
let menuId = 56; // Number |
apiInstance.assignMenu(storeId, menuId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| menuId | Number |
RestApiArrayResultRestApiDefaultResponse
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultStore cloneStore(storeId, settings)
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.StoresApi();
let storeId = 56; // Number |
let settings = new Flipdish.StoreCloneSettings(); // StoreCloneSettings |
apiInstance.cloneStore(storeId, settings, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| settings | StoreCloneSettings |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultServiceCharge configureStoreServiceCharge(storeId, serviceCharge)
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.StoresApi();
let storeId = 56; // Number |
let serviceCharge = new Flipdish.ServiceCharge(); // ServiceCharge |
apiInstance.configureStoreServiceCharge(storeId, serviceCharge, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| serviceCharge | ServiceCharge |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
RestApiResultBusinessHoursOverride createBusinessHoursOverrideByStoreId(storeId, businessHoursOverride)
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.StoresApi();
let storeId = 56; // Number |
let businessHoursOverride = new Flipdish.BusinessHoursOverrideBase(); // BusinessHoursOverrideBase |
apiInstance.createBusinessHoursOverrideByStoreId(storeId, businessHoursOverride, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| businessHoursOverride | BusinessHoursOverrideBase |
RestApiResultBusinessHoursOverride
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultStore createStore(storeGroupId, store)
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.StoresApi();
let storeGroupId = 56; // Number |
let store = new Flipdish.StoreCreateBase(); // StoreCreateBase |
apiInstance.createStore(storeGroupId, store, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeGroupId | Number | ||
| store | StoreCreateBase |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultStore createStoreInProperty(storeGroupId, propertyId, store, 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.StoresApi();
let storeGroupId = 56; // Number |
let propertyId = "propertyId_example"; // String |
let store = new Flipdish.StoreCreateBase(); // StoreCreateBase |
let opts = {
'autoAssignMenu': true // Boolean |
};
apiInstance.createStoreInProperty(storeGroupId, propertyId, store, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeGroupId | Number | ||
| propertyId | String | ||
| store | StoreCreateBase | ||
| autoAssignMenu | Boolean | [optional] |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiArrayResultRestApiDefaultResponse deleteBusinessHoursOverride(storeId, businessHoursOverrideId)
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.StoresApi();
let storeId = 56; // Number |
let businessHoursOverrideId = 56; // Number |
apiInstance.deleteBusinessHoursOverride(storeId, businessHoursOverrideId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| businessHoursOverrideId | Number |
RestApiArrayResultRestApiDefaultResponse
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultAssignedBankAccount getBankAccountForStore(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.StoresApi();
let storeId = 56; // Number |
apiInstance.getBankAccountForStore(storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number |
RestApiResultAssignedBankAccount
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiArrayResultBusinessHoursPeriod getBusinessHours(storeId, deliveryType)
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.StoresApi();
let storeId = 56; // Number |
let deliveryType = "deliveryType_example"; // String |
apiInstance.getBusinessHours(storeId, deliveryType, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| deliveryType | String |
RestApiArrayResultBusinessHoursPeriod
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiPaginationResultBusinessHoursOverride getBusinessHoursOverrideByStoreId(storeId, 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.StoresApi();
let storeId = 56; // Number |
let opts = {
'after': new Date("2013-10-20T19:20:30+01:00"), // Date |
'page': 56, // Number |
'limit': 56 // Number |
};
apiInstance.getBusinessHoursOverrideByStoreId(storeId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| after | Date | [optional] | |
| page | Number | [optional] | |
| limit | Number | [optional] |
RestApiPaginationResultBusinessHoursOverride
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultStoreEndOfDayReport getEndOfDayReport(storeId, 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.StoresApi();
let storeId = 56; // Number |
let opts = {
'date': new Date("2013-10-20T19:20:30+01:00") // Date |
};
apiInstance.getEndOfDayReport(storeId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| date | Date | [optional] |
RestApiResultStoreEndOfDayReport
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultPreOrderConfig getPreOrderConfig(storeId, deliveryType)
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.StoresApi();
let storeId = 56; // Number |
let deliveryType = "deliveryType_example"; // String |
apiInstance.getPreOrderConfig(storeId, deliveryType, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| deliveryType | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiArrayResultPreOrderTime getPreOrderPreview(storeId, deliveryType, 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.StoresApi();
let storeId = 56; // Number |
let deliveryType = "deliveryType_example"; // String |
let opts = {
'preOrderConfig_leadTimeMinutes': 56, // Number | Lead Time in Minutes
'preOrderConfig_intervalMinutes': 56, // Number | Interval in minutes
'preOrderConfig_maxOrderAheadDays': 56, // Number | Max Days to order ahead
'preOrderConfig_includeAsap': true, // Boolean | Show ASAP as option
'preOrderConfig_includeMoreGranularInitialTime': true, // Boolean | Granual Init' Time
'preOrderConfig_cutOffTimePreviousDayBasic': "preOrderConfig_cutOffTimePreviousDayBasic_example", // String | Cut off time previous day
'preOrderConfig_cutOffTimeCurrentDayBasic': "preOrderConfig_cutOffTimeCurrentDayBasic_example", // String | Cut off time current day
'preOrderConfig_preOrderTimeDisplayType': "preOrderConfig_preOrderTimeDisplayType_example", // String | Type of time displayed.
'preOrderConfig_alwaysAppearOpen': true, // Boolean | Specifies whether a customer can pre-order outside the store opening hours or not.
'preOrderConfig_requireExplicitSelectAlways': true // Boolean | Force customer to select collection time.
};
apiInstance.getPreOrderPreview(storeId, deliveryType, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| deliveryType | String | ||
| preOrderConfig_leadTimeMinutes | Number | Lead Time in Minutes | [optional] |
| preOrderConfig_intervalMinutes | Number | Interval in minutes | [optional] |
| preOrderConfig_maxOrderAheadDays | Number | Max Days to order ahead | [optional] |
| preOrderConfig_includeAsap | Boolean | Show ASAP as option | [optional] |
| preOrderConfig_includeMoreGranularInitialTime | Boolean | Granual Init' Time | [optional] |
| preOrderConfig_cutOffTimePreviousDayBasic | String | Cut off time previous day | [optional] |
| preOrderConfig_cutOffTimeCurrentDayBasic | String | Cut off time current day | [optional] |
| preOrderConfig_preOrderTimeDisplayType | String | Type of time displayed. | [optional] |
| preOrderConfig_alwaysAppearOpen | Boolean | Specifies whether a customer can pre-order outside the store opening hours or not. | [optional] |
| preOrderConfig_requireExplicitSelectAlways | Boolean | Force customer to select collection time. | [optional] |
RestApiArrayResultPreOrderTime
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiArrayResultProcessingFeeConfig getProcessingFeeConfigsByStoreId(storeId, 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.StoresApi();
let storeId = 56; // Number |
let opts = {
'appNameId': "appNameId_example" // String |
};
apiInstance.getProcessingFeeConfigsByStoreId(storeId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| appNameId | String | [optional] |
RestApiArrayResultProcessingFeeConfig
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
RestApiResultProcessingFeeConfig getProcessingFeeConfigsByStoreIdAndPaymentAccountType(storeId, paymentAccountType, 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.StoresApi();
let storeId = 56; // Number |
let paymentAccountType = "paymentAccountType_example"; // String |
let opts = {
'appNameId': "appNameId_example" // String |
};
apiInstance.getProcessingFeeConfigsByStoreIdAndPaymentAccountType(storeId, paymentAccountType, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| paymentAccountType | String | ||
| appNameId | String | [optional] |
RestApiResultProcessingFeeConfig
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
RestApiResultStore getStoreById(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.StoresApi();
let storeId = 56; // Number |
apiInstance.getStoreById(storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiArrayResultStoreDeliveryZoneFeeConfig getStoreDeliveryFeeConfig(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.StoresApi();
let storeId = 56; // Number |
apiInstance.getStoreDeliveryFeeConfig(storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number |
RestApiArrayResultStoreDeliveryZoneFeeConfig
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
StoreFeeConfig getStoreFeeConfig(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.StoresApi();
let storeId = 56; // Number |
apiInstance.getStoreFeeConfig(storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, FeeConfigId, StoreId, StartTime, PercentFeeCardOrders, PercentFeeCashOrders, PercentFeeCardOrdersWeb, PercentFeeCashOrdersWeb, PercentFeeCardOrdersKiosk, PercentFeeCashOrdersKiosk, FixedFeeCardOrdersKiosk, FixedFeeCashOrdersKiosk, PercentFeeCardOrdersKioskChargedToCustomerIncludingVat, FixedFeeCardOrdersKioskChargedToCustomerIncludingVat, PercentFeeCashOrdersKioskChargedToCustomerIncludingVat, FixedFeeCashOrdersKioskChargedToCustomerIncludingVat, FixedFeeCardOrders, FixedFeeCashOrders, PercentFeeCardOrdersChargedToCustomerIncludingVat, FixedFeeCardOrdersChargedToCustomerIncludingVat, PercentFeeCashOrdersChargedToCustomerIncludingVat, FixedFeeCashOrdersChargedToCustomerIncludingVat, PercentFeeTips, PercentFeeTipsCollection, PercentFeeTipsDelivery, TaxRatePercent, PercentFeeCardOrdersLocationService, PercentFeeCashOrdersLocationService, FixedFeeCardOrdersLocationService, FixedFeeCashOrdersLocationService, PercentFeeCardOrdersLocationServiceChargedToCustomerIncludingVat, PercentFeeCashOrdersLocationServiceChargedToCustomerIncludingVat, FixedFeeCardOrdersLocationServiceChargedToCustomerIncludingVat, FixedFeeCashOrdersLocationServiceChargedToCustomerIncludingVat, PercentFeeDelivery, FixedFeeDelivery, PercentFeeCardPosTransaction, FixedFeeCardPosTransaction, PercentFeeOrderWithGoogle, FixedFeeOrderWithGoogle, PercentFeeCardOrdersPhoneAgent, PercentFeeCashOrdersPhoneAgent, FixedFeeCardOrdersPhoneAgent, FixedFeeCashOrdersPhoneAgent, PercentFeeCardOrdersPhoneAgentChargedToCustomerIncludingVat, PercentFeeCashOrdersPhoneAgentChargedToCustomerIncludingVat, FixedFeeCardOrdersPhoneAgentChargedToCustomerIncludingVat, FixedFeeCashOrdersPhoneAgentChargedToCustomerIncludingVat
RestApiPaginationResultStoreHeader getStoreHeadersByAppId(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.StoresApi();
let appId = "appId_example"; // String |
let opts = {
'storeNameQuery': "storeNameQuery_example", // String |
'salesChannelType': "salesChannelType_example", // String |
'page': 56, // Number |
'limit': 56 // Number |
};
apiInstance.getStoreHeadersByAppId(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 | ||
| storeNameQuery | String | [optional] | |
| salesChannelType | String | [optional] | |
| page | Number | [optional] | |
| limit | Number | [optional] |
RestApiPaginationResultStoreHeader
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultOrderLeadTimes getStoreLeadTimes(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.StoresApi();
let storeId = 56; // Number |
apiInstance.getStoreLeadTimes(storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiArrayResultStoreStatistics getStoreNetSales(appId, 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.StoresApi();
let appId = "appId_example"; // String |
let storeId = [null]; // [Number] |
apiInstance.getStoreNetSales(appId, storeId, (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] |
RestApiArrayResultStoreStatistics
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
ServiceCharge getStoreServiceCharge(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.StoresApi();
let storeId = 56; // Number |
apiInstance.getStoreServiceCharge(storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, StoreId, PercentageValue, Enabled, IsOptional, DisplayWithProcessingFee, IncludesVouchers
RestApiPaginationResultStore getStores(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.StoresApi();
let opts = {
'searchQuery': "searchQuery_example", // String |
'page': 56, // Number |
'limit': 56, // Number |
'storeGroupId': 56 // Number |
};
apiInstance.getStores(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| searchQuery | String | [optional] | |
| page | Number | [optional] | |
| limit | Number | [optional] | |
| storeGroupId | Number | [optional] |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiPaginationResultStore getStoresByAppId(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.StoresApi();
let appId = "appId_example"; // String |
let opts = {
'searchQuery': "searchQuery_example", // String |
'salesChannelType': "salesChannelType_example", // String |
'excludeUnpublished': true, // Boolean |
'page': 56, // Number |
'limit': 56 // Number |
};
apiInstance.getStoresByAppId(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] | |
| salesChannelType | String | [optional] | |
| excludeUnpublished | Boolean | [optional] | |
| page | Number | [optional] | |
| limit | Number | [optional] |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiPaginationResultStoreValidationConfig getStoresByStoreIdWithValidations(storeId, 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.StoresApi();
let storeId = [null]; // [Number] |
let appId = "appId_example"; // String |
let opts = {
'page': 56, // Number |
'limit': 56 // Number |
};
apiInstance.getStoresByStoreIdWithValidations(storeId, appId, opts, (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 | ||
| page | Number | [optional] | |
| limit | Number | [optional] |
RestApiPaginationResultStoreValidationConfig
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
publishStore(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.StoresApi();
let storeId = 56; // Number |
apiInstance.publishStore(storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number |
null (empty response body)
- Content-Type: Not defined
- Accept: Data, application/json, text/json, application/xml, text/xml
putStoreDeliveryFeeConfig(storeId, feeConfigUpdateRequest)
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.StoresApi();
let storeId = 56; // Number |
let feeConfigUpdateRequest = new Flipdish.StoreDeliveryZoneFeeConfigUpdateRequest(); // StoreDeliveryZoneFeeConfigUpdateRequest |
apiInstance.putStoreDeliveryFeeConfig(storeId, feeConfigUpdateRequest, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| feeConfigUpdateRequest | StoreDeliveryZoneFeeConfigUpdateRequest |
null (empty response body)
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: Message, ErrorCode, StackTrace, application/json, text/json, application/xml, text/xml
RestApiResultBusinessHoursPeriod setBusinessHours(storeId, deliveryType, businessHoursPeriod)
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.StoresApi();
let storeId = 56; // Number |
let deliveryType = "deliveryType_example"; // String |
let businessHoursPeriod = new Flipdish.BusinessHoursPeriodBase(); // BusinessHoursPeriodBase |
apiInstance.setBusinessHours(storeId, deliveryType, businessHoursPeriod, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| deliveryType | String | ||
| businessHoursPeriod | BusinessHoursPeriodBase |
RestApiResultBusinessHoursPeriod
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiArrayResultRestApiDefaultResponse setPreOrdeEnabled(storeId, deliveryType, enabled)
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.StoresApi();
let storeId = 56; // Number |
let deliveryType = "deliveryType_example"; // String |
let enabled = true; // Boolean |
apiInstance.setPreOrdeEnabled(storeId, deliveryType, enabled, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| deliveryType | String | ||
| enabled | Boolean |
RestApiArrayResultRestApiDefaultResponse
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultRestApiDefaultResponse setStoreCollectionSettings(storeId, settings, 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.StoresApi();
let storeId = 56; // Number |
let settings = new Flipdish.StoreCollectionSettings(); // StoreCollectionSettings |
let opts = {
'inheritFromProperty': true // Boolean |
};
apiInstance.setStoreCollectionSettings(storeId, settings, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| settings | StoreCollectionSettings | ||
| inheritFromProperty | Boolean | [optional] |
RestApiResultRestApiDefaultResponse
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
RestApiResultOrderLeadTimes setStoreLeadTimes(storeId, leadTime)
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.StoresApi();
let storeId = 56; // Number |
let leadTime = new Flipdish.LeadTime(); // LeadTime |
apiInstance.setStoreLeadTimes(storeId, leadTime, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| leadTime | LeadTime |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, Data
Object storesSetPropertyId(storeId, propertyId)
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.StoresApi();
let storeId = 56; // Number |
let propertyId = "propertyId_example"; // String |
apiInstance.storesSetPropertyId(storeId, propertyId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| propertyId | String |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
supportedSalesChannelsTypes(propertyId, storeId, salesChannelTypes)
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.StoresApi();
let propertyId = "propertyId_example"; // String |
let storeId = 56; // Number |
let salesChannelTypes = ["null"]; // [String] |
apiInstance.supportedSalesChannelsTypes(propertyId, storeId, salesChannelTypes, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| propertyId | String | ||
| storeId | Number | ||
| salesChannelTypes | [String] |
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
unpublishStore(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.StoresApi();
let storeId = 56; // Number |
apiInstance.unpublishStore(storeId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number |
null (empty response body)
- Content-Type: Not defined
- Accept: Data, application/json, text/json, application/xml, text/xml
RestApiArrayResultRestApiDefaultResponse updatePreOrderConfig(storeId, deliveryType, preOrderConfig)
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.StoresApi();
let storeId = 56; // Number |
let deliveryType = "deliveryType_example"; // String |
let preOrderConfig = new Flipdish.PreOrderConfig(); // PreOrderConfig |
apiInstance.updatePreOrderConfig(storeId, deliveryType, preOrderConfig, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| deliveryType | String | ||
| preOrderConfig | PreOrderConfig |
RestApiArrayResultRestApiDefaultResponse
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultStore updateStore(storeId, store)
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.StoresApi();
let storeId = 56; // Number |
let store = new Flipdish.StoreBase(); // StoreBase |
apiInstance.updateStore(storeId, store, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| store | StoreBase |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultStoreAddress updateStoreAddress(storeId, storeAddress)
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.StoresApi();
let storeId = 56; // Number |
let storeAddress = new Flipdish.StoreAddressBase(); // StoreAddressBase |
apiInstance.updateStoreAddress(storeId, storeAddress, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| storeAddress | StoreAddressBase |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultCoordinates updateStoreAddressCoordinates(storeId, coordinates, 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.StoresApi();
let storeId = 56; // Number |
let coordinates = new Flipdish.Coordinates(); // Coordinates |
let opts = {
'appNameId': "appNameId_example" // String |
};
apiInstance.updateStoreAddressCoordinates(storeId, coordinates, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| coordinates | Coordinates | ||
| appNameId | String | [optional] |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, Data
Object updateStoreAddressForm(storeId, address)
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.StoresApi();
let storeId = 56; // Number |
let address = new Flipdish.StoreAddressForm(); // StoreAddressForm |
apiInstance.updateStoreAddressForm(storeId, address, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Number | ||
| address | StoreAddressForm |
Object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml