All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| archiveCatalogItem | POST /api/v1.0/{appId}/catalog/items/{catalogItemId}/archive | Archive Catalog Item |
| createCatalogItem | POST /api/v1.0/{appId}/catalog/items | Create a Catalog Item |
| duplicateCatalogItem | POST /api/v1.0/{appId}/catalog/items/{catalogItemId}/duplicate | Duplicate Catalog Item |
| getCatalogItemById | GET /api/v1.0/{appId}/catalog/items/{catalogItemId} | Get item by Id |
| getItems | GET /api/v1.0/{appId}/catalog/items | Get paginated items by app name id filtered by types |
| updateCatalogItem | POST /api/v1.0/{appId}/catalog/items/{catalogItemId} | Update Catalog Item |
archiveCatalogItem(appId, catalogItemId)
Archive Catalog Item
[BETA - this endpoint is under development, do not use it in your production system]
// 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.CatalogItemsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
CatalogItemsApi apiInstance = new CatalogItemsApi();
String appId = "appId_example"; // String |
String catalogItemId = "catalogItemId_example"; // String |
try {
apiInstance.archiveCatalogItem(appId, catalogItemId);
} catch (ApiException e) {
System.err.println("Exception when calling CatalogItemsApi#archiveCatalogItem");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| catalogItemId | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultCatalogItem createCatalogItem(appId, createCatalogItem)
Create a Catalog Item
[BETA - this endpoint is under development, do not use it in your production system]
// 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.CatalogItemsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
CatalogItemsApi apiInstance = new CatalogItemsApi();
String appId = "appId_example"; // String |
CreateCatalogItem createCatalogItem = new CreateCatalogItem(); // CreateCatalogItem |
try {
RestApiResultCatalogItem result = apiInstance.createCatalogItem(appId, createCatalogItem);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CatalogItemsApi#createCatalogItem");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| createCatalogItem | CreateCatalogItem |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
duplicateCatalogItem(appId, catalogItemId)
Duplicate Catalog Item
[BETA - this endpoint is under development, do not use it in your production system]
// 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.CatalogItemsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
CatalogItemsApi apiInstance = new CatalogItemsApi();
String appId = "appId_example"; // String |
String catalogItemId = "catalogItemId_example"; // String |
try {
apiInstance.duplicateCatalogItem(appId, catalogItemId);
} catch (ApiException e) {
System.err.println("Exception when calling CatalogItemsApi#duplicateCatalogItem");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| catalogItemId | String |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
CatalogItem getCatalogItemById(appId, catalogItemId)
Get item by Id
[BETA - this endpoint is under development, do not use it in your production system]
// 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.CatalogItemsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
CatalogItemsApi apiInstance = new CatalogItemsApi();
String appId = "appId_example"; // String |
String catalogItemId = "catalogItemId_example"; // String |
try {
CatalogItem result = apiInstance.getCatalogItemById(appId, catalogItemId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CatalogItemsApi#getCatalogItemById");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| catalogItemId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiPaginationResultCatalogItem getItems(appId, itemTypes, searchTerm, page, limit)
Get paginated items by app name id filtered by types
[BETA - this endpoint is under development, do not use it in your production system]
// 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.CatalogItemsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
CatalogItemsApi apiInstance = new CatalogItemsApi();
String appId = "appId_example"; // String |
List<String> itemTypes = Arrays.asList("itemTypes_example"); // List<String> |
String searchTerm = "searchTerm_example"; // String |
Integer page = 56; // Integer |
Integer limit = 56; // Integer |
try {
RestApiPaginationResultCatalogItem result = apiInstance.getItems(appId, itemTypes, searchTerm, page, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CatalogItemsApi#getItems");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| itemTypes | List<String> | [enum: Product, Modifier] | |
| searchTerm | String | [optional] | |
| page | Integer | [optional] | |
| limit | Integer | [optional] |
RestApiPaginationResultCatalogItem
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
updateCatalogItem(appId, catalogItemId, updateCatalogItem)
Update Catalog Item
[BETA - this endpoint is under development, do not use it in your production system]
// 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.CatalogItemsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
CatalogItemsApi apiInstance = new CatalogItemsApi();
String appId = "appId_example"; // String |
String catalogItemId = "catalogItemId_example"; // String |
UpdateCatalogItem updateCatalogItem = new UpdateCatalogItem(); // UpdateCatalogItem |
try {
apiInstance.updateCatalogItem(appId, catalogItemId, updateCatalogItem);
} catch (ApiException e) {
System.err.println("Exception when calling CatalogItemsApi#updateCatalogItem");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| catalogItemId | String | ||
| updateCatalogItem | UpdateCatalogItem |
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