All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| createLocation | POST /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location | |
| deleteLocation | DELETE /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/delete | |
| mapLocationToExternalId | POST /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/map-external | |
| moveLocation | POST /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/move | |
| updateLocation | POST /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/update |
Object createLocation(createLocationInput, locationAreaId, appId, storeId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.LocationApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
LocationApi apiInstance = new LocationApi();
List<CreateLocation> createLocationInput = Arrays.asList(new CreateLocation()); // List<CreateLocation> |
Integer locationAreaId = 56; // Integer |
String appId = "appId_example"; // String |
Integer storeId = 56; // Integer |
try {
Object result = apiInstance.createLocation(createLocationInput, locationAreaId, appId, storeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LocationApi#createLocation");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| createLocationInput | List<CreateLocation> | ||
| locationAreaId | Integer | ||
| appId | String | ||
| storeId | Integer |
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
Object deleteLocation(locationId, locationAreaId, appId, storeId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.LocationApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
LocationApi apiInstance = new LocationApi();
Integer locationId = 56; // Integer |
Integer locationAreaId = 56; // Integer |
String appId = "appId_example"; // String |
Integer storeId = 56; // Integer |
try {
Object result = apiInstance.deleteLocation(locationId, locationAreaId, appId, storeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LocationApi#deleteLocation");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| locationId | Integer | ||
| locationAreaId | Integer | ||
| appId | String | ||
| storeId | Integer |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultMappedLocation mapLocationToExternalId(locationId, locationAreaId, appId, storeId, externalLocationId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.LocationApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
LocationApi apiInstance = new LocationApi();
Integer locationId = 56; // Integer |
Integer locationAreaId = 56; // Integer |
String appId = "appId_example"; // String |
Integer storeId = 56; // Integer |
String externalLocationId = "externalLocationId_example"; // String |
try {
RestApiResultMappedLocation result = apiInstance.mapLocationToExternalId(locationId, locationAreaId, appId, storeId, externalLocationId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LocationApi#mapLocationToExternalId");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| locationId | Integer | ||
| locationAreaId | Integer | ||
| appId | String | ||
| storeId | Integer | ||
| externalLocationId | String | [optional] |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object moveLocation(locationId, locationAreaId, newLocationAreaId, appId, storeId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.LocationApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
LocationApi apiInstance = new LocationApi();
Integer locationId = 56; // Integer |
Integer locationAreaId = 56; // Integer |
Integer newLocationAreaId = 56; // Integer |
String appId = "appId_example"; // String |
Integer storeId = 56; // Integer |
try {
Object result = apiInstance.moveLocation(locationId, locationAreaId, newLocationAreaId, appId, storeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LocationApi#moveLocation");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| locationId | Integer | ||
| locationAreaId | Integer | ||
| newLocationAreaId | Integer | ||
| appId | String | ||
| storeId | Integer |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultLocationAreaLocation updateLocation(updateLocationInput, locationAreaId, locationId, appId, storeId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.LocationApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
LocationApi apiInstance = new LocationApi();
CreateLocation updateLocationInput = new CreateLocation(); // CreateLocation |
Integer locationAreaId = 56; // Integer |
Integer locationId = 56; // Integer |
String appId = "appId_example"; // String |
Integer storeId = 56; // Integer |
try {
RestApiResultLocationAreaLocation result = apiInstance.updateLocation(updateLocationInput, locationAreaId, locationId, appId, storeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LocationApi#updateLocation");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| updateLocationInput | CreateLocation | ||
| locationAreaId | Integer | ||
| locationId | Integer | ||
| appId | String | ||
| storeId | Integer |
RestApiResultLocationAreaLocation
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml