API reference
Count products
Returns how many products match a filter, without returning them. Cheaper than paging through a listing when you only need the number.
GET
/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 AuthorizationBearer <token>
OAuth2 access token issued by Ecomiq Auth.
In: header
Query Parameters
productIds?array<any>
search?string
Free-text filter. Which fields it covers depends on the resource.
status?array<>
excludeStatus?array<>
includeArchived?boolean
categoryIds?array<any>
excludeCategoryIds?array<any>
brandIds?array<any>
excludeBrandIds?array<any>
storeIds?array<any>
sellerIds?array<any>
excludeSellerIds?array<any>
skuIds?array<any>
skus?array<string>
types?array<>
excludeTypes?array<>
isFeatured?boolean
ean?string
minPrice?number
Format
doublemaxPrice?number
Format
doubleminOnHand?integer
Format
int32maxOnHand?integer
Format
int32limit?string
Maximum number of results to return.
savedViewId?null|string
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"{ "total": 0, "precision": "exact", "limit": null}