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 create a product-variant by applying the following steps in sequence:
Get the productId from params
Create the product-variant (productVariantService.createProductVariant)
Get the created product-variant (productVariantService.getProductVariant)
Return the created product-variant
500 NBError Internal Server Error
Generated using TypeDoc
Create product-variant handler