Skip to main content

Product and Category

In the ERP project, Product and Category modules are presented as a sample CRUD structure. These modules can be taken as reference when developing new ERP areas.

API Terminals

  • Products - GET /api/products
  • GET /api/products/:id
  • POST /api/products
  • PUT /api/products/:id
  • DELETE /api/products/:id Typical filters supported: - search
  • categoryId
  • isActive

API Terminals

  • Categories - GET /api/categories
  • GET /api/categories/:id
  • POST /api/categories
  • PUT /api/categories/:id
  • DELETE /api/categories/:id

Note for

Development When developing a new ERP domain module, the route-controller-service flow in the products/categories structure can be taken as basis.

:::info Manifest Code erp:catalog:view

:::