Home > @poq/sdk-sfcc > ProductSearchRequest > (constructor)
Constructs a new instance of the ProductSearchRequest
class
Signature:
constructor(query?: string, start?: number, count?: number, expand?: ProductSearchExpandOption[], refinements?: ProductSearchRequestRefinements, sort?: string, currency?: string, locale?: string, originalSearchParams?: Record<string, string>);
Parameter | Type | Description |
---|---|---|
query | string | (Optional) |
start | number | (Optional) |
count | number | (Optional) |
expand | ProductSearchExpandOption[] | (Optional) |
refinements | ProductSearchRequestRefinements | (Optional) |
sort | string | (Optional) |
currency | string | (Optional) |
locale | string | (Optional) |
originalSearchParams | Record<string, string> | (Optional) |