REST/MVC Path for Category definition | |||
---|---|---|---|
HTTP Method | Path | Description | Controller Method |
/rest/categories/{categoryKey} | Retrieves category by category key | getCategory(categoryKey : String) | |
Parameters:
| |||
/rest/categories/ | Adds a new category | addCategory(category : CategoryDTO) | |
Parameters:
| |||
/rest/categories/{categoryKey} | Updates an existent category | updateCategory(category : CategoryDTO, categoryKey : String) | |
Parameters:
| |||
/rest/categories/{categoryKey} | Removes an existent category | removeCategory(categoryKey : String) | |
Parameters:
| |||
/rest/categories/{categoryKey}/changeVisibility | Changes category visibility | changeVisibility(key : String, visible : boolean) | |
Parameters:
| |||
/rest/categories/{categoryKey}/products | Set associated products for a category | updateCategoryProducts(categoryKey : String, productKeys : String) | |
Parameters:
| |||
/rest/categories/ | Search for categories by criteria | findCategoriesByCriteria(criteria : CategoryCriteria) | |
Parameters:
|
General
Contenido
Integraciones