Skip to content

Retrieve tags count

API v2 is in public beta: endpoints and fields can change before general availability. See the changelog

GET/preorders/products/tags/count

Costs 1 rate-limit point · Rate limits

Count the products that carry any of the given tags, as the offer's tag picker does while you type.

tags is a list (or comma-separated). Counts active, published products that carry one of the tags as a whole tag. Past 500 products the count stops and exact is false.

Also searched ascount products by tagtag match counthow many products have this tag

Query parameters

  • tagsstring

Errors

401

Missing or invalid X-Auth-Token.

422

The request failed validation.

429

Rate limited: cost-weighted per token (read 1, write 2; 360 points / 60s). Check Retry-After.

Every error has the same shape: see Errors.

GET/preorders/products/tags/count
curl "https://app.stoqapp.com/api/v2/external/preorders/products/tags/count" \
  -H "X-Auth-Token: $STOQ_API_KEY"
Response
No body