injected service use to handle the catalog related operations
injected logger used to handle the logging
request context [headers, body, params, query].
201 Status Created
This handler is used to create a product by applying the following steps in sequence:
Get the orgId from params
Create a product (productService.createProduct)
Get the created product (productService.getOneProductByIdAndAggregate)
Return the created product
Error
500 NBError Internal Server Error
Generated using TypeDoc
Create product handler