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($store_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
try {
$apiInstance->archiveStore($store_id);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->archiveStore: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_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]
\Flipdish\Client\Models\RestApiArrayResultRestApiDefaultResponse assignMenu($store_id, $menu_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$menu_id = 56; // int |
try {
$result = $apiInstance->assignMenu($store_id, $menu_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->assignMenu: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| menu_id | int |
\Flipdish\Client\Models\RestApiArrayResultRestApiDefaultResponse
- 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]
\Flipdish\Client\Models\RestApiResultStore cloneStore($store_id, $settings)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$settings = new \Flipdish\\Client\Models\StoreCloneSettings(); // \Flipdish\\Client\Models\StoreCloneSettings |
try {
$result = $apiInstance->cloneStore($store_id, $settings);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->cloneStore: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| settings | \Flipdish\Client\Models\StoreCloneSettings |
\Flipdish\Client\Models\RestApiResultStore
- 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]
\Flipdish\Client\Models\RestApiResultServiceCharge configureStoreServiceCharge($store_id, $service_charge)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$service_charge = new \Flipdish\\Client\Models\ServiceCharge(); // \Flipdish\\Client\Models\ServiceCharge |
try {
$result = $apiInstance->configureStoreServiceCharge($store_id, $service_charge);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->configureStoreServiceCharge: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| service_charge | \Flipdish\Client\Models\ServiceCharge |
\Flipdish\Client\Models\RestApiResultServiceCharge
- 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]
\Flipdish\Client\Models\RestApiResultBusinessHoursOverride createBusinessHoursOverrideByStoreId($store_id, $business_hours_override)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$business_hours_override = new \Flipdish\\Client\Models\BusinessHoursOverrideBase(); // \Flipdish\\Client\Models\BusinessHoursOverrideBase |
try {
$result = $apiInstance->createBusinessHoursOverrideByStoreId($store_id, $business_hours_override);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->createBusinessHoursOverrideByStoreId: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| business_hours_override | \Flipdish\Client\Models\BusinessHoursOverrideBase |
\Flipdish\Client\Models\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
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Flipdish\Client\Models\RestApiResultStore createStore($store_group_id, $store)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_group_id = 56; // int |
$store = new \Flipdish\\Client\Models\StoreCreateBase(); // \Flipdish\\Client\Models\StoreCreateBase |
try {
$result = $apiInstance->createStore($store_group_id, $store);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->createStore: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_group_id | int | ||
| store | \Flipdish\Client\Models\StoreCreateBase |
\Flipdish\Client\Models\RestApiResultStore
- 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]
\Flipdish\Client\Models\RestApiResultStore createStoreInProperty($store_group_id, $property_id, $store, $auto_assign_menu)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_group_id = 56; // int |
$property_id = "property_id_example"; // string |
$store = new \Flipdish\\Client\Models\StoreCreateBase(); // \Flipdish\\Client\Models\StoreCreateBase |
$auto_assign_menu = true; // bool |
try {
$result = $apiInstance->createStoreInProperty($store_group_id, $property_id, $store, $auto_assign_menu);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->createStoreInProperty: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_group_id | int | ||
| property_id | string | ||
| store | \Flipdish\Client\Models\StoreCreateBase | ||
| auto_assign_menu | bool | [optional] |
\Flipdish\Client\Models\RestApiResultStore
- 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]
\Flipdish\Client\Models\RestApiArrayResultRestApiDefaultResponse deleteBusinessHoursOverride($store_id, $business_hours_override_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$business_hours_override_id = 56; // int |
try {
$result = $apiInstance->deleteBusinessHoursOverride($store_id, $business_hours_override_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->deleteBusinessHoursOverride: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| business_hours_override_id | int |
\Flipdish\Client\Models\RestApiArrayResultRestApiDefaultResponse
- 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]
\Flipdish\Client\Models\RestApiResultAssignedBankAccount getBankAccountForStore($store_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
try {
$result = $apiInstance->getBankAccountForStore($store_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getBankAccountForStore: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int |
\Flipdish\Client\Models\RestApiResultAssignedBankAccount
- 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]
\Flipdish\Client\Models\RestApiArrayResultBusinessHoursPeriod getBusinessHours($store_id, $delivery_type)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$delivery_type = "delivery_type_example"; // string |
try {
$result = $apiInstance->getBusinessHours($store_id, $delivery_type);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getBusinessHours: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| delivery_type | string |
\Flipdish\Client\Models\RestApiArrayResultBusinessHoursPeriod
- 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]
\Flipdish\Client\Models\RestApiPaginationResultBusinessHoursOverride getBusinessHoursOverrideByStoreId($store_id, $after, $page, $limit)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$after = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime |
$page = 56; // int |
$limit = 56; // int |
try {
$result = $apiInstance->getBusinessHoursOverrideByStoreId($store_id, $after, $page, $limit);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getBusinessHoursOverrideByStoreId: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| after | \DateTime | [optional] | |
| page | int | [optional] | |
| limit | int | [optional] |
\Flipdish\Client\Models\RestApiPaginationResultBusinessHoursOverride
- 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]
\Flipdish\Client\Models\RestApiResultStoreEndOfDayReport getEndOfDayReport($store_id, $date)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime |
try {
$result = $apiInstance->getEndOfDayReport($store_id, $date);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getEndOfDayReport: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| date | \DateTime | [optional] |
\Flipdish\Client\Models\RestApiResultStoreEndOfDayReport
- 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]
\Flipdish\Client\Models\RestApiResultPreOrderConfig getPreOrderConfig($store_id, $delivery_type)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$delivery_type = "delivery_type_example"; // string |
try {
$result = $apiInstance->getPreOrderConfig($store_id, $delivery_type);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getPreOrderConfig: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| delivery_type | string |
\Flipdish\Client\Models\RestApiResultPreOrderConfig
- 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]
\Flipdish\Client\Models\RestApiArrayResultPreOrderTime getPreOrderPreview($store_id, $delivery_type, $pre_order_config_lead_time_minutes, $pre_order_config_interval_minutes, $pre_order_config_max_order_ahead_days, $pre_order_config_include_asap, $pre_order_config_include_more_granular_initial_time, $pre_order_config_cut_off_time_previous_day_basic, $pre_order_config_cut_off_time_current_day_basic, $pre_order_config_pre_order_time_display_type, $pre_order_config_always_appear_open, $pre_order_config_require_explicit_select_always)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$delivery_type = "delivery_type_example"; // string |
$pre_order_config_lead_time_minutes = 56; // int | Lead Time in Minutes
$pre_order_config_interval_minutes = 56; // int | Interval in minutes
$pre_order_config_max_order_ahead_days = 56; // int | Max Days to order ahead
$pre_order_config_include_asap = true; // bool | Show ASAP as option
$pre_order_config_include_more_granular_initial_time = true; // bool | Granual Init' Time
$pre_order_config_cut_off_time_previous_day_basic = "pre_order_config_cut_off_time_previous_day_basic_example"; // string | Cut off time previous day
$pre_order_config_cut_off_time_current_day_basic = "pre_order_config_cut_off_time_current_day_basic_example"; // string | Cut off time current day
$pre_order_config_pre_order_time_display_type = "pre_order_config_pre_order_time_display_type_example"; // string | Type of time displayed.
$pre_order_config_always_appear_open = true; // bool | Specifies whether a customer can pre-order outside the store opening hours or not.
$pre_order_config_require_explicit_select_always = true; // bool | Force customer to select collection time.
try {
$result = $apiInstance->getPreOrderPreview($store_id, $delivery_type, $pre_order_config_lead_time_minutes, $pre_order_config_interval_minutes, $pre_order_config_max_order_ahead_days, $pre_order_config_include_asap, $pre_order_config_include_more_granular_initial_time, $pre_order_config_cut_off_time_previous_day_basic, $pre_order_config_cut_off_time_current_day_basic, $pre_order_config_pre_order_time_display_type, $pre_order_config_always_appear_open, $pre_order_config_require_explicit_select_always);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getPreOrderPreview: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| delivery_type | string | ||
| pre_order_config_lead_time_minutes | int | Lead Time in Minutes | [optional] |
| pre_order_config_interval_minutes | int | Interval in minutes | [optional] |
| pre_order_config_max_order_ahead_days | int | Max Days to order ahead | [optional] |
| pre_order_config_include_asap | bool | Show ASAP as option | [optional] |
| pre_order_config_include_more_granular_initial_time | bool | Granual Init' Time | [optional] |
| pre_order_config_cut_off_time_previous_day_basic | string | Cut off time previous day | [optional] |
| pre_order_config_cut_off_time_current_day_basic | string | Cut off time current day | [optional] |
| pre_order_config_pre_order_time_display_type | string | Type of time displayed. | [optional] |
| pre_order_config_always_appear_open | bool | Specifies whether a customer can pre-order outside the store opening hours or not. | [optional] |
| pre_order_config_require_explicit_select_always | bool | Force customer to select collection time. | [optional] |
\Flipdish\Client\Models\RestApiArrayResultPreOrderTime
- 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]
\Flipdish\Client\Models\RestApiArrayResultProcessingFeeConfig getProcessingFeeConfigsByStoreId($store_id, $app_name_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$app_name_id = "app_name_id_example"; // string |
try {
$result = $apiInstance->getProcessingFeeConfigsByStoreId($store_id, $app_name_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getProcessingFeeConfigsByStoreId: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| app_name_id | string | [optional] |
\Flipdish\Client\Models\RestApiArrayResultProcessingFeeConfig
- 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]
\Flipdish\Client\Models\RestApiResultProcessingFeeConfig getProcessingFeeConfigsByStoreIdAndPaymentAccountType($store_id, $payment_account_type, $app_name_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$payment_account_type = "payment_account_type_example"; // string |
$app_name_id = "app_name_id_example"; // string |
try {
$result = $apiInstance->getProcessingFeeConfigsByStoreIdAndPaymentAccountType($store_id, $payment_account_type, $app_name_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getProcessingFeeConfigsByStoreIdAndPaymentAccountType: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| payment_account_type | string | ||
| app_name_id | string | [optional] |
\Flipdish\Client\Models\RestApiResultProcessingFeeConfig
- 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]
\Flipdish\Client\Models\RestApiResultStore getStoreById($store_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
try {
$result = $apiInstance->getStoreById($store_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getStoreById: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int |
\Flipdish\Client\Models\RestApiResultStore
- 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]
\Flipdish\Client\Models\RestApiArrayResultStoreDeliveryZoneFeeConfig getStoreDeliveryFeeConfig($store_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
try {
$result = $apiInstance->getStoreDeliveryFeeConfig($store_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getStoreDeliveryFeeConfig: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int |
\Flipdish\Client\Models\RestApiArrayResultStoreDeliveryZoneFeeConfig
- 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]
\Flipdish\Client\Models\StoreFeeConfig getStoreFeeConfig($store_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
try {
$result = $apiInstance->getStoreFeeConfig($store_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getStoreFeeConfig: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int |
\Flipdish\Client\Models\StoreFeeConfig
- 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]
\Flipdish\Client\Models\RestApiPaginationResultStoreHeader getStoreHeadersByAppId($app_id, $store_name_query, $sales_channel_type, $page, $limit)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$app_id = "app_id_example"; // string |
$store_name_query = "store_name_query_example"; // string |
$sales_channel_type = "sales_channel_type_example"; // string |
$page = 56; // int |
$limit = 56; // int |
try {
$result = $apiInstance->getStoreHeadersByAppId($app_id, $store_name_query, $sales_channel_type, $page, $limit);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getStoreHeadersByAppId: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string | ||
| store_name_query | string | [optional] | |
| sales_channel_type | string | [optional] | |
| page | int | [optional] | |
| limit | int | [optional] |
\Flipdish\Client\Models\RestApiPaginationResultStoreHeader
- 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]
\Flipdish\Client\Models\RestApiResultOrderLeadTimes getStoreLeadTimes($store_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
try {
$result = $apiInstance->getStoreLeadTimes($store_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getStoreLeadTimes: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int |
\Flipdish\Client\Models\RestApiResultOrderLeadTimes
- 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]
\Flipdish\Client\Models\RestApiArrayResultStoreStatistics getStoreNetSales($app_id, $store_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$app_id = "app_id_example"; // string |
$store_id = array(56); // int[] |
try {
$result = $apiInstance->getStoreNetSales($app_id, $store_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getStoreNetSales: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string | ||
| store_id | int[] |
\Flipdish\Client\Models\RestApiArrayResultStoreStatistics
- 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]
\Flipdish\Client\Models\ServiceCharge getStoreServiceCharge($store_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
try {
$result = $apiInstance->getStoreServiceCharge($store_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getStoreServiceCharge: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int |
\Flipdish\Client\Models\ServiceCharge
- 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]
\Flipdish\Client\Models\RestApiPaginationResultStore getStores($search_query, $page, $limit, $store_group_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$search_query = "search_query_example"; // string |
$page = 56; // int |
$limit = 56; // int |
$store_group_id = 56; // int |
try {
$result = $apiInstance->getStores($search_query, $page, $limit, $store_group_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getStores: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| search_query | string | [optional] | |
| page | int | [optional] | |
| limit | int | [optional] | |
| store_group_id | int | [optional] |
\Flipdish\Client\Models\RestApiPaginationResultStore
- 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]
\Flipdish\Client\Models\RestApiPaginationResultStore getStoresByAppId($app_id, $search_query, $sales_channel_type, $exclude_unpublished, $page, $limit)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$app_id = "app_id_example"; // string |
$search_query = "search_query_example"; // string |
$sales_channel_type = "sales_channel_type_example"; // string |
$exclude_unpublished = true; // bool |
$page = 56; // int |
$limit = 56; // int |
try {
$result = $apiInstance->getStoresByAppId($app_id, $search_query, $sales_channel_type, $exclude_unpublished, $page, $limit);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getStoresByAppId: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| app_id | string | ||
| search_query | string | [optional] | |
| sales_channel_type | string | [optional] | |
| exclude_unpublished | bool | [optional] | |
| page | int | [optional] | |
| limit | int | [optional] |
\Flipdish\Client\Models\RestApiPaginationResultStore
- 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]
\Flipdish\Client\Models\RestApiPaginationResultStoreValidationConfig getStoresByStoreIdWithValidations($store_id, $app_id, $page, $limit)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = array(56); // int[] |
$app_id = "app_id_example"; // string |
$page = 56; // int |
$limit = 56; // int |
try {
$result = $apiInstance->getStoresByStoreIdWithValidations($store_id, $app_id, $page, $limit);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->getStoresByStoreIdWithValidations: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int[] | ||
| app_id | string | ||
| page | int | [optional] | |
| limit | int | [optional] |
\Flipdish\Client\Models\RestApiPaginationResultStoreValidationConfig
- 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]
publishStore($store_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
try {
$apiInstance->publishStore($store_id);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->publishStore: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_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]
putStoreDeliveryFeeConfig($store_id, $fee_config_update_request)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$fee_config_update_request = new \Flipdish\\Client\Models\StoreDeliveryZoneFeeConfigUpdateRequest(); // \Flipdish\\Client\Models\StoreDeliveryZoneFeeConfigUpdateRequest |
try {
$apiInstance->putStoreDeliveryFeeConfig($store_id, $fee_config_update_request);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->putStoreDeliveryFeeConfig: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| fee_config_update_request | \Flipdish\Client\Models\StoreDeliveryZoneFeeConfigUpdateRequest |
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]
\Flipdish\Client\Models\RestApiResultBusinessHoursPeriod setBusinessHours($store_id, $delivery_type, $business_hours_period)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$delivery_type = "delivery_type_example"; // string |
$business_hours_period = new \Flipdish\\Client\Models\BusinessHoursPeriodBase(); // \Flipdish\\Client\Models\BusinessHoursPeriodBase |
try {
$result = $apiInstance->setBusinessHours($store_id, $delivery_type, $business_hours_period);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->setBusinessHours: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| delivery_type | string | ||
| business_hours_period | \Flipdish\Client\Models\BusinessHoursPeriodBase |
\Flipdish\Client\Models\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
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Flipdish\Client\Models\RestApiArrayResultRestApiDefaultResponse setPreOrdeEnabled($store_id, $delivery_type, $enabled)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$delivery_type = "delivery_type_example"; // string |
$enabled = true; // bool |
try {
$result = $apiInstance->setPreOrdeEnabled($store_id, $delivery_type, $enabled);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->setPreOrdeEnabled: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| delivery_type | string | ||
| enabled | bool |
\Flipdish\Client\Models\RestApiArrayResultRestApiDefaultResponse
- 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]
\Flipdish\Client\Models\RestApiResultRestApiDefaultResponse setStoreCollectionSettings($store_id, $settings, $inherit_from_property)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$settings = new \Flipdish\\Client\Models\StoreCollectionSettings(); // \Flipdish\\Client\Models\StoreCollectionSettings |
$inherit_from_property = true; // bool |
try {
$result = $apiInstance->setStoreCollectionSettings($store_id, $settings, $inherit_from_property);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->setStoreCollectionSettings: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| settings | \Flipdish\Client\Models\StoreCollectionSettings | ||
| inherit_from_property | bool | [optional] |
\Flipdish\Client\Models\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
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Flipdish\Client\Models\RestApiResultOrderLeadTimes setStoreLeadTimes($store_id, $lead_time)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$lead_time = new \Flipdish\\Client\Models\LeadTime(); // \Flipdish\\Client\Models\LeadTime |
try {
$result = $apiInstance->setStoreLeadTimes($store_id, $lead_time);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->setStoreLeadTimes: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| lead_time | \Flipdish\Client\Models\LeadTime |
\Flipdish\Client\Models\RestApiResultOrderLeadTimes
- 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]
object storesSetPropertyId($store_id, $property_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$property_id = "property_id_example"; // string |
try {
$result = $apiInstance->storesSetPropertyId($store_id, $property_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->storesSetPropertyId: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| property_id | string |
object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
supportedSalesChannelsTypes($property_id, $store_id, $sales_channel_types)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$property_id = "property_id_example"; // string |
$store_id = 56; // int |
$sales_channel_types = array(new \Flipdish\\Client\Models\string[]()); // string[] |
try {
$apiInstance->supportedSalesChannelsTypes($property_id, $store_id, $sales_channel_types);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->supportedSalesChannelsTypes: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| property_id | string | ||
| store_id | int | ||
| sales_channel_types | string[] |
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]
unpublishStore($store_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
try {
$apiInstance->unpublishStore($store_id);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->unpublishStore: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_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]
\Flipdish\Client\Models\RestApiArrayResultRestApiDefaultResponse updatePreOrderConfig($store_id, $delivery_type, $pre_order_config)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$delivery_type = "delivery_type_example"; // string |
$pre_order_config = new \Flipdish\\Client\Models\PreOrderConfig(); // \Flipdish\\Client\Models\PreOrderConfig |
try {
$result = $apiInstance->updatePreOrderConfig($store_id, $delivery_type, $pre_order_config);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->updatePreOrderConfig: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| delivery_type | string | ||
| pre_order_config | \Flipdish\Client\Models\PreOrderConfig |
\Flipdish\Client\Models\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
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Flipdish\Client\Models\RestApiResultStore updateStore($store_id, $store)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$store = new \Flipdish\\Client\Models\StoreBase(); // \Flipdish\\Client\Models\StoreBase |
try {
$result = $apiInstance->updateStore($store_id, $store);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->updateStore: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| store | \Flipdish\Client\Models\StoreBase |
\Flipdish\Client\Models\RestApiResultStore
- 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]
\Flipdish\Client\Models\RestApiResultStoreAddress updateStoreAddress($store_id, $store_address)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$store_address = new \Flipdish\\Client\Models\StoreAddressBase(); // \Flipdish\\Client\Models\StoreAddressBase |
try {
$result = $apiInstance->updateStoreAddress($store_id, $store_address);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->updateStoreAddress: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| store_address | \Flipdish\Client\Models\StoreAddressBase |
\Flipdish\Client\Models\RestApiResultStoreAddress
- 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]
\Flipdish\Client\Models\RestApiResultCoordinates updateStoreAddressCoordinates($store_id, $coordinates, $app_name_id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$coordinates = new \Flipdish\\Client\Models\Coordinates(); // \Flipdish\\Client\Models\Coordinates |
$app_name_id = "app_name_id_example"; // string |
try {
$result = $apiInstance->updateStoreAddressCoordinates($store_id, $coordinates, $app_name_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->updateStoreAddressCoordinates: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| coordinates | \Flipdish\Client\Models\Coordinates | ||
| app_name_id | string | [optional] |
\Flipdish\Client\Models\RestApiResultCoordinates
- 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]
object updateStoreAddressForm($store_id, $address)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = Flipdish\\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Flipdish\\Client\Api\StoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$store_id = 56; // int |
$address = new \Flipdish\\Client\Models\StoreAddressForm(); // \Flipdish\\Client\Models\StoreAddressForm |
try {
$result = $apiInstance->updateStoreAddressForm($store_id, $address);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoresApi->updateStoreAddressForm: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| address | \Flipdish\Client\Models\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
[Back to top] [Back to API list] [Back to Model list] [Back to README]