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 required200 Status Ok
This handler is used to get one product variant by applying the following steps in sequence:
Get the variantId from params
Get the productId from params
Get the product variant (productVariantService.getProductVariant)
Return the product variant
Error
404 NBError Not Found
500 NBError Internal Server Error
Generated using TypeDoc
Get one product variant handler