Count products
Returns how many products match a filter, without returning them. Cheaper than paging through a listing when you only need the number.
/v1/catalog/products/countReturns how many products match a filter, without returning them. Cheaper than paging through a listing when you only need the number.
Authorization
bearerAuth OAuth2 access token issued by Ecomiq Auth.
In: header
Query Parameters
Only these products.
Only items imported from these sources.
Free-text filter. Which fields it covers depends on the resource.
Only items in these statuses.
Leave out items in these statuses.
Include archived items.
Only items in these categories.
Leave out items in these categories.
Only items of these brands.
Leave out items of these brands.
Only items of these stores.
Only items of these sellers.
Leave out items of these sellers.
Filter by variant identifiers.
Filter by SKU codes.
Only these product types.
Leave out these product types.
Only featured items.
Filter by EAN barcode.
Lowest price to include, in the store currency.
doubleHighest price to include, in the store currency.
doubleMinimum stock on hand.
int32Maximum stock on hand.
int32Maximum number of results to return.
int32Header Parameters
Store the request acts on. Not needed when the token is bound to a store.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/catalog/products/count" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>"{ "total": 1, "precision": "exact", "limit": 1}