Define an endpoint that will search the product database by keywords (These keywords will be gotten from the product name, price, and other attributes)
The endpoint should be paginated.
Product search is divided into two: buyer/visitor search and merchant search.
buyer/visitor search: this will search the entire product database for relevant matches.
merchant search: this will search the product database by the currently logged-in merchantID for relevant matches.
BACKLOGS REFERENCE:
- Search - Buyer
- Search - Merchant
Define an endpoint that will search the product database by keywords (These keywords will be gotten from the product name, price, and other attributes)
The endpoint should be paginated.
Product search is divided into two: buyer/visitor search and merchant search.
buyer/visitor search: this will search the entire product database for relevant matches.
merchant search: this will search the product database by the currently logged-in merchantID for relevant matches.
BACKLOGS REFERENCE: