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 requiredparams.variantId
is required204 Status No Content
This handler is used to update a product-variant by applying the following steps in sequence:
Get the productId and variantId from params
Update the product-variant (productVariantService.updateProductVariant)
Return 204
Error
404 NBError Not Found
500 NBError Internal Server Error
Generated using TypeDoc
Update product-variant handler