The Product controller is designed to facilitate product discovery and management within the marketplace. It offers a variety of endpoints to access product information:
- Get product by product code: Provides the
/marketplace/product/{productCode}
endpoint to retrieve detailed information about a specific product using its unique code. - Get a list of products: Offers the
/marketplace/product
endpoint to fetch a paginated list of products, with options for applying filters to refine the results. - Find and filter products: Includes the
/marketplace/product/search
endpoint to obtain paginated search results based on a query, allowing for optional filters for more precise outcomes. - Get a list of categories: Features the
/marketplace/product/category
endpoint to access a paginated list of product categories, aiding users in navigating available offerings.
These endpoints collectively enhance the user experience by making product information easily accessible and manageable.