### $HOME_TITLE$

Version: $VERSION$
Local time:

### Category

Description | Method | Payload | API Endpoint
--- | --- | --- | ---
List all categories | GET |  | /category
Get a category by id | GET |  | /category/{cat_id}
Add a new category | POST | { "name": "category_name" } | /category
Update existing category by id | PUT | { "name": "category_name" } | /category/{cat_id}
Delete existing category by id | DELETE |  | /category/{cat_id}

### Product

Description | Method | Payload | API Endpoint
--- | --- | --- | ---
List all products by category id | GET |  | /category/{cat_id}/product
Get a product by category and id | GET |  | /category/{cat_id}/product/{id}
Add a new product by category id | POST | { "code": "product_code", "name": "product_name", "price": product_price } | /category/{cat_id}/product
Update existing product by category id and id | PUT | { "code": "product_code", "name": "product_name", "price": product_price } | /category/{cat_id}/product/{id}
Delete existing product by category id and id | DELETE |  | /category/{cat_id}/product/{id}

Keywords