Work4all icon

Work4all

Interact with the work4all API

Update Customer

AI-generated

Summary

Update an existing work4all customer by internal customer code. Sends the supplied non-empty customer fields to the work4all API and returns its GraphQL response.

Inputs

  • Mandant Name or ID — Tenant used for the x-work4all-mandant request header; defaults to 1.
  • Customer Code (required) — Internal work4all customer code identifying the customer to update.
  • Company Name — Company name to set; omitted from the update when empty.
  • Email — Email address to set; omitted when empty.
  • Phone — Phone number to set; omitted when empty.
  • Street — Street address to set; omitted when empty.
  • Postal Code — Postal code to set; omitted when empty.
  • City — City to set; omitted when empty.
  • Website — Website to set; omitted when empty.
  • Note — Note to set; omitted when empty.

Output shape

A single item containing the GraphQL response for the customer update.

The response is returned without field filtering. Empty string fields are not included in the mutation input, so this operation cannot clear those fields by submitting them empty.

Links

Discussion