View as Markdown
Fortnox icon

Fortnox ACTION

List Customers

List all customers in Fortnox. See the documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Fortnox account once, then configure and run List Customers from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "fortnox-list-customers",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    fortnox: { authProvisionId: "apn_xxxxxxx" },
    filter: "Filter",
    customernumber: "Customer Number",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

List Customers inputs
Property Type Description
filter Filter string
Filter the customers by Active or Inactive
Optional
customernumber Customer Number string
Filter by customer number
Optional
name Name string
Filter by name
Optional
zipcode Zip Code string
Filter by zip code
Optional
city City string
Filter by city
Optional
email Email string
Filter by email
Optional
phone Phone string
Filter by phone
Optional
organisationnumber Organisation Number string
Filter by organisation number
Optional
gln GLN string
Filter by GLN
Optional
glndelivery GLN Delivery string
Filter by GLN Delivery
Optional
lastmodified Last Modified string
Filter by last modified date
Optional
sortby Sort By string
Sort the customers by the specified field
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
fortnox-list-customers
Version
0.0.1
App
Fortnox
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes