Returns the total number of products matching the given search criteria—without returning the full item list. Useful for pagination controls and analytics dashboards that only need the count of results.
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. If true, returns metadata for each filterable field.
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.
Whether to bypass merchandising rules for count calculations
Total count of matching products.
The response is of type object
.