All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| archiveGroup | POST /api/v1.0/{appId}/catalog/groups/{catalogItemId}/archive | Archive Catalog Group |
| createGroup | POST /api/v1.0/{appId}/catalog/groups | Create a Catalog Group |
| duplicateGroup | POST /api/v1.0/{appId}/catalog/groups/{catalogItemId}/duplicate | Duplicate Catalog Group |
| getGroupById | GET /api/v1.0/{appId}/catalog/groups/{catalogItemId} | Get group by Id |
| getGroups | GET /api/v1.0/{appId}/catalog/groups | Get paginated groups by app name id filtered by types |
| updateGroup | POST /api/v1.0/{appId}/catalog/groups/{catalogItemId} | Update Catalog Group |
archiveGroup(appId, catalogItemId)
Archive Catalog Group
[BETA - this endpoint is under development, do not use it in your production system]
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.CatalogGroupsApi();
let appId = "appId_example"; // String |
let catalogItemId = "catalogItemId_example"; // String |
apiInstance.archiveGroup(appId, catalogItemId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| 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
RestApiResultGroup createGroup(appId, createGroup)
Create a Catalog Group
[BETA - this endpoint is under development, do not use it in your production system]
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.CatalogGroupsApi();
let appId = "appId_example"; // String |
let createGroup = new Flipdish.CreateGroup(); // CreateGroup |
apiInstance.createGroup(appId, createGroup, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| createGroup | CreateGroup |
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, MinSelectCount, MaxSelectCount, Products, GroupType, Sku, Name, AutogenerateDisplayText, ImageFileName
duplicateGroup(appId, catalogItemId)
Duplicate Catalog Group
[BETA - this endpoint is under development, do not use it in your production system]
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.CatalogGroupsApi();
let appId = "appId_example"; // String |
let catalogItemId = "catalogItemId_example"; // String |
apiInstance.duplicateGroup(appId, catalogItemId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| 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
Group getGroupById(appId, catalogItemId)
Get group by Id
[BETA - this endpoint is under development, do not use it in your production system]
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.CatalogGroupsApi();
let appId = "appId_example"; // String |
let catalogItemId = "catalogItemId_example"; // String |
apiInstance.getGroupById(appId, catalogItemId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| catalogItemId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, CatalogGroupId, CatalogItemId, IsArchived, MinSelectCount, Products, GroupType, Sku, Name, AutogenerateDisplayText, ImageFileName
RestApiPaginationResultGroup getGroups(appId, groupTypes, opts)
Get paginated groups by app name id filtered by types
[BETA - this endpoint is under development, do not use it in your production system]
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.CatalogGroupsApi();
let appId = "appId_example"; // String |
let groupTypes = ["null"]; // [String] |
let opts = {
'searchTerm': "searchTerm_example", // String |
'page': 56, // Number |
'limit': 56 // Number |
};
apiInstance.getGroups(appId, groupTypes, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| groupTypes | [String] | ||
| searchTerm | String | [optional] | |
| page | Number | [optional] | |
| limit | Number | [optional] |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
updateGroup(appId, catalogItemId, updateGroup)
Update Catalog Group
[BETA - this endpoint is under development, do not use it in your production system]
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.CatalogGroupsApi();
let appId = "appId_example"; // String |
let catalogItemId = "catalogItemId_example"; // String |
let updateGroup = new Flipdish.UpdateGroup(); // UpdateGroup |
apiInstance.updateGroup(appId, catalogItemId, updateGroup, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| catalogItemId | String | ||
| updateGroup | UpdateGroup |
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