Shop API icon

Shop API

Call Shop API

Payment Methods → Count

AI-generated

Summary

Counts payment methods matching an optional JSON filter by POSTing to the payment methods search endpoint with page and page size set to zero. Returns the API’s total count as one n8n item.

Inputs

  • Request filter — Optional JSON object used to filter payment methods. Invalid JSON or a non-object value is ignored and the count request proceeds with an empty filter.

Output shape

A single n8n item with a JSON object containing total, the number returned by the API.

If the API response has no total field, the output value is 0. The request uses the Shop API credentials.

Links

Discussion