Home > @vsf-enterprise/sapcc-api > Endpoints > searchProduct
Endpoints.searchProduct() method
Returns a list of products and additional data, such as available facets, available sorting, and pagination options.
Signature:
searchProduct(context: SapccIntegrationContext, props?: ProductSearchProps): Promise<ProductSearchPage>;
Parameters
Parameter | Type | Description |
---|---|---|
context | SapccIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
props | ProductSearchProps | An object which contains necessary properties for getting data about product search. |
Returns:
Promise<ProductSearchPage>