Shop API icon

Shop API

Call Shop API

Tax Rates → Count

AI-generated

Summary

Count the number of tax rates matching an optional JSON filter.

Inputs

  • Request filter — A JSON string to filter which tax rates to count.

Output shape

a single JSON object with a 'total' field indicating the count of tax rates matching the filter.

If the filter is invalid or not provided, the count is for all tax rates. The count is returned as { "total": number }.

Examples

Example 1: Count all tax rates

Leave the Request filter empty to get count of all tax rates.

Example 2: Count tax rates with a specific property

Provide a valid JSON filter string to count only tax rates matching the filter criteria.

Discussion