Work4all icon

Work4all

Interact with the work4all API

Get Customer

AI-generated

Summary

Retrieve one work4all customer by its internal customer code. Choose the tenant, enter the required code, and select which customer fields to return.

Inputs

  • Mandant Name or ID — Tenant used for the request; sent in the x-work4all-mandant header. Defaults to 1.
  • Customer Code (required) — Internal work4all customer code used to look up the customer.
  • Output — Choose Raw for the full API response, Simplified (default) for a reduced set of fields, or Selected Fields to specify fields with a JSON array.
  • Fields — JSON array of customer field names to include when Output is Selected Fields.

Output shape

A single n8n item containing the work4all API response in its JSON data.

The request asks for one customer matching the supplied code. Raw returns the unfiltered response; Simplified includes available fields among code, name, eMail, telefon, strasse, plz, ort, notiz, interNet, and gruppe. Selected Fields filters each returned customer record to the named fields. If the API response has no customer list or the selected field list is empty, the response is returned unfiltered.

Examples

Example 1: Retrieve a customer’s basic details

Set Customer Code to the internal work4all code and leave Output as Simplified.

Example 2: Retrieve specific customer fields

Set Output to Selected Fields and enter a JSON array such as ["code","name","eMail"].

Links

Discussion