• Update many products handler

    Parameters

    • productService: ProductDataService

      injected service use to handle the catalog related operations

    • logger: Logger

      injected logger used to handle the logging

    • context: AdapterHandlerContext

      request context [headers, body, params, query].

    Returns Promise<adapter.AdapterHandlerResponse>

    200 Status Ok

    Description

    This handler is used to update many products by applying the following steps in sequence:

    1. Get the ids from body

    2. Update the products (productService.bulkWriteProducts)

    3. Return the status

Generated using TypeDoc