Adapay Customer icon

Adapay Customer

Manage customers in Adapay. Returns the customer object with id field for use in downstream nodes.

Update

AI-generated

Summary

Update an existing customer's full profile in Adapay by replacing all their information with new values, including name, email, document type and number, phone, and full address.

Inputs

  • Customer ID (required) — ID of the customer to update.
  • Name (required) — Full name of the customer (minimum 3 characters).
  • Email (required) — Email address of the customer.
  • Document Type (required) — Type of identification document, either CPF (individual) or CNPJ (company).
  • Document (required) — CPF (11 digits) or CNPJ (14 digits), with non-numeric characters stripped automatically.
  • Phone (required) — Phone number with 10 or 11 digits (DDD + number), non-numeric characters are stripped automatically.
  • Address (required) — Customer's full address containing ZIP code (8 digits), street name, street number, neighborhood, city, Brazilian state (UF), and an optional complement (e.g., apartment or suite). All fields except complement are required.

Output shape

a list with a single item containing the updated customer object in JSON format

The operation sends a PATCH request to update the customer identified by Customer ID and returns the full updated customer object. If the update fails and 'Continue On Fail' is enabled, the output will include an error message for that item.

Examples

Example 1: Update customer

Set 'Customer ID' to the existing customer's ID, provide all required fields with updated values, and execute. The node returns the updated customer details.

Links

Discussion