Shop API icon

Shop API

Call Shop API

Product Units → Count

AI-generated

Summary

Count product units matching an optional JSON filter by sending a POST request to the Shop API product unit search endpoint. The operation returns the API’s total count as one n8n item.

Inputs

  • filter — Optional JSON object used as the request filter. Invalid JSON or a non-object value is ignored; the request is sent with an empty filter. The operation sets page and pageSize to 0.

Output shape

A single item with JSON data containing a numeric total field.

If the response has no total field, total is returned as 0. Requires the Shop API credentials.

Links

Discussion