Shop API icon

Shop API

Call Shop API

Categories → Count

AI-generated

Summary

Counts Shop API categories by sending a POST request to the category search endpoint. Optionally provide a JSON filter to count matching categories.

Inputs

  • Request filter — Optional JSON object used as the category search filter. Invalid JSON or a value that is not an object is ignored; the request proceeds without a filter.

Output shape

A single n8n item containing a total number.

The request forces page and pageSize to 0. If the API response has no total field, the output is { "total": 0 }. Success returns one item.

Links

Discussion