List subscriptions
BetaReads data
Lists Mollie subscriptions, of one customer or of the whole account.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Mollie connection the step signs in with. |
| Which subscriptions | "all" or "customer" |
| Customer id | text |
| Start at subscription id | text |
| Subscriptions per call | number |
| Order | "desc" or "asc" |
| Fetch every page | Follows Mollie's next-page link, and refuses past 10,000 subscriptions rather than answering a short list. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mollie`) |
scope | "all" or "customer", by default "all" |
customerId | textused when `scope` is "customer" |
from | text |
limit | number, by default 50 |
sort | "desc" or "asc", by default "desc" |
returnAll | true/false, by default false |
Output
| Field | Type |
|---|---|
subscriptions | array |
subscriptionCountSubscriptions in this answer | number |
hasMoreMore subscriptions are waiting behind this page | boolean |
nextCursorStart the next call at this subscription id | string |
Sample output, and the expression for each field
- hasMorefalse
- nextCursor""
- subscriptionCount0
- subscriptions[]
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"connection": "<connection id>",
"customerId": "",
"from": "",
"limit": 50,
"returnAll": false,
"scope": "all",
"sort": "desc"
},
"label": "List subscriptions",
"type": "mollie.listSubscriptions",
"version": 1
}