The ProductService API

In our monolithic application, for the Product module, we are doing the following:

Now we will create ProductService; we require the following APIs:

API Resource Description
GET /api/Product Gets a list of products
GET /api/Product{id} Gets a product
PUT /api/Product{id} Updates an existing product
DELETE /api/Product{id} Deletes an existing product
POST /api/Product Adds a new product