All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| driversAddDriverNotificationToken | POST /api/v1.0/drivers/token | |
| driversDeleteDriverProfileImage | DELETE /api/v1.0/drivers/profile/image | |
| driversDriverLogin | POST /api/v1.0/drivers/login | |
| driversDriverRequestLoginCodeSms | POST /api/v1.0/drivers/pin | |
| driversGetDriverProfile | GET /api/v1.0/drivers/profile | |
| driversGetStoresForDriver | GET /api/v1.0/drivers/assignedstores | |
| driversRemoveDriverNotificationToken | DELETE /api/v1.0/drivers/token | |
| driversSetDriverPresenceForStore | POST /api/v1.0/drivers/stores/{storeId}/presence/{presence} | |
| driversSetDriverProfileImage | POST /api/v1.0/drivers/profile/image | |
| driversUpdateDeliveryTrackingStatus | POST /api/v1.0/orders/{orderId}/tracking/{deliveryTrackingStatus} | |
| driversUpdateDriverProfile | POST /api/v1.0/drivers/profile |
object driversAddDriverNotificationToken($update_driver_token)
<?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\DriversApi(
// 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
);
$update_driver_token = new \Flipdish\\Client\Models\UpdateDriverNotificationToken(); // \Flipdish\\Client\Models\UpdateDriverNotificationToken |
try {
$result = $apiInstance->driversAddDriverNotificationToken($update_driver_token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DriversApi->driversAddDriverNotificationToken: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| update_driver_token | \Flipdish\Client\Models\UpdateDriverNotificationToken |
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]
object driversDeleteDriverProfileImage()
<?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\DriversApi(
// 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
);
try {
$result = $apiInstance->driversDeleteDriverProfileImage();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DriversApi->driversDeleteDriverProfileImage: ', $e->getMessage(), PHP_EOL;
}
?>This endpoint does not need any parameter.
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]
object driversDriverLogin($driver_login_model)
<?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\DriversApi(
// 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
);
$driver_login_model = new \Flipdish\\Client\Models\DriverLoginModel(); // \Flipdish\\Client\Models\DriverLoginModel |
try {
$result = $apiInstance->driversDriverLogin($driver_login_model);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DriversApi->driversDriverLogin: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| driver_login_model | \Flipdish\Client\Models\DriverLoginModel |
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]
object driversDriverRequestLoginCodeSms($driver_request_login_pin_model)
<?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\DriversApi(
// 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
);
$driver_request_login_pin_model = new \Flipdish\\Client\Models\DriverRequestLoginPinModel(); // \Flipdish\\Client\Models\DriverRequestLoginPinModel |
try {
$result = $apiInstance->driversDriverRequestLoginCodeSms($driver_request_login_pin_model);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DriversApi->driversDriverRequestLoginCodeSms: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| driver_request_login_pin_model | \Flipdish\Client\Models\DriverRequestLoginPinModel |
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]
object driversGetDriverProfile()
<?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\DriversApi(
// 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
);
try {
$result = $apiInstance->driversGetDriverProfile();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DriversApi->driversGetDriverProfile: ', $e->getMessage(), PHP_EOL;
}
?>This endpoint does not need any parameter.
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]
object driversGetStoresForDriver()
<?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\DriversApi(
// 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
);
try {
$result = $apiInstance->driversGetStoresForDriver();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DriversApi->driversGetStoresForDriver: ', $e->getMessage(), PHP_EOL;
}
?>This endpoint does not need any parameter.
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]
object driversRemoveDriverNotificationToken($remove_driver_token)
<?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\DriversApi(
// 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
);
$remove_driver_token = new \Flipdish\\Client\Models\UpdateDriverNotificationToken(); // \Flipdish\\Client\Models\UpdateDriverNotificationToken |
try {
$result = $apiInstance->driversRemoveDriverNotificationToken($remove_driver_token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DriversApi->driversRemoveDriverNotificationToken: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| remove_driver_token | \Flipdish\Client\Models\UpdateDriverNotificationToken |
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]
object driversSetDriverPresenceForStore($store_id, $presence)
<?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\DriversApi(
// 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 |
$presence = "presence_example"; // string |
try {
$result = $apiInstance->driversSetDriverPresenceForStore($store_id, $presence);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DriversApi->driversSetDriverPresenceForStore: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| store_id | int | ||
| presence | 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]
object driversSetDriverProfileImage()
<?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\DriversApi(
// 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
);
try {
$result = $apiInstance->driversSetDriverProfileImage();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DriversApi->driversSetDriverProfileImage: ', $e->getMessage(), PHP_EOL;
}
?>This endpoint does not need any parameter.
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]
object driversUpdateDeliveryTrackingStatus($order_id, $delivery_tracking_status)
<?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\DriversApi(
// 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
);
$order_id = 56; // int |
$delivery_tracking_status = "delivery_tracking_status_example"; // string |
try {
$result = $apiInstance->driversUpdateDeliveryTrackingStatus($order_id, $delivery_tracking_status);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DriversApi->driversUpdateDeliveryTrackingStatus: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| order_id | int | ||
| delivery_tracking_status | 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]
object driversUpdateDriverProfile($update_driver_profile)
<?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\DriversApi(
// 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
);
$update_driver_profile = new \Flipdish\\Client\Models\UpdateDriverProfileModel(); // \Flipdish\\Client\Models\UpdateDriverProfileModel |
try {
$result = $apiInstance->driversUpdateDriverProfile($update_driver_profile);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DriversApi->driversUpdateDriverProfile: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| update_driver_profile | \Flipdish\Client\Models\UpdateDriverProfileModel |
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]