# Category Operations related to category, including create, get, etc ## Create a Category - [POST /Category](https://developer.dealpos.com/openapi/openapi/category/createcategory.md): Create a Category based on name You must have "CREATE" role in "Products" Module ## Update a Category - [PUT /Category](https://developer.dealpos.com/openapi/openapi/category/updatecategory.md): Update a category based on name You must have "EDIT" role in "Products" Module OR "EDIT" role in "Global" Module ## Delete a Category - [DELETE /Category](https://developer.dealpos.com/openapi/openapi/category/deletecategory.md): Delete a Category based on name You must have "DELETE" role in "Products" Module ## List Categories - [GET /Category](https://developer.dealpos.com/openapi/openapi/category/listcategories.md): >Also available as HTTP POST (endpoint: /api/v3/Category/p) Get list of product categories Use First example (empty object) to return all categories, and use second example to get spesific category with its children. Required Group Role: "Products" - "View" ## Get a Category By ID - [GET /Category/ID](https://developer.dealpos.com/openapi/openapi/category/getcategorybyid.md): >Also available as HTTP POST with the same endpoint Get a Category based on ID Required Group Role: "Products" - "VIEW"