Home > @vsf-enterprise/sapcc-api > ProductSearchProps > query
ProductSearchProps.query property
Parameter allowing us to pass on a raw query string expected by SAP OCC API.
Signature:
query?: string;
Remarks
Useful whenever SAP Commerce Cloud gives us ready-to-use search queries (such as the ones in FacetValues). When you use the query
parameter, other query-building parameters such filters
, searchTerm
and sort
are ignored.
Example
const query = ':undefined:allCategories:collections:allCategories:brands:reviewAvgRating:4.4';