Fetches the count of products matching URL-encoded search and filter criteria. Ideal for simple pagination UIs that only need the total number of hits.
Optional customer group identifier for segment-specific responses.
E-commerce provider for contextualizing the API call (e.g., shopify, magento, etc.).
Comma-separated list of fields to include in the response
Specifies the language or region for the response data
Identifier of the store within the e-commerce platform.
Sales or distribution channel identifier.
Identifier for the regional location from the BigCommerce admin panel.
Currency code for price displays.
Whether to include metadata about the fields in the response
The search term for generating suggestions or results
Identifier for the product category to filter results.
Name of the product category to filter results.
Identifier for a specific collection or campaign to filter results.
Number of items to skip for pagination offset.
Maximum number of items to return.
Sort direction for counting logic (rarely used for pure counts).asc
for ascending, desc
for descending.
Field name by which the results should be sorted.
Facet fields with value to filter product by color, size or provided facets
Logical filter expression to narrow results
Whether to bypass merchandising rules for count calculations
Total count of matching products.
The response is of type object
.