Shop API icon

Shop API

Call Shop API

Tags → Count

AI-generated

Summary

Count tags matching an optional JSON filter to retrieve the total number of tags that meet specified criteria.

Inputs

  • Request filter — An optional JSON filter object to specify criteria for counting tags. Leave empty to count all tags.

Output shape

a single record containing the total count of tags matching the filter

The output JSON object has a field 'total' representing the count. If the filter is invalid or omitted, counts all tags. There is no pagination as it returns a single count value.

Examples

Example 1: Count all tags matching a specific property filter

Provide a JSON filter string in the 'Request filter' field, for example '{"status": "active"}' to count only active tags.

Discussion