Shop API icon

Shop API

Call Shop API

Products → Count

AI-generated

Summary

Count products matching an optional JSON filter by sending a POST request to the Shop API products search endpoint. The response is returned as one n8n item containing the total count.

Inputs

  • Request filter — Optional JSON object used to filter products. Invalid JSON or a non-object value is ignored; the request then uses an empty filter.

Output shape

A single item with a JSON object containing the numeric total count.

The node forces page and pageSize to 0 in the request. If the API response does not include total, the output count is 0.

Links

Discussion