injected service use to handle the catalog related operations
injected service use to handle the catalog related operations
injected logger used to handle the logging
request context [headers, body, params, query].
params.productId
is required200 Status Ok
This handler is used to update one product by applying the following steps in sequence:
Get the productId from params
Update the product (productService.updateProduct)
Get the updated product (productService.getProduct)
Return the updated product
Error
404 NBError Not Found
500 NBError Internal Server Error
Generated using TypeDoc
Update one product handler