injected targetField use to get productId
injected targetField use to get orgId
injected API use to handle catalog related operations
injected logger use to handle logging
request context [headers, body, params, query].
200 Status OK
This validator checks if the product exists by applying the following steps in sequence:
Get productId from targetField context
Check if productId is provided
Check if product exists
400 NBError Bad Request
404 NBError Not Found
Generated using TypeDoc
Is product exists validator