TOTVS RM icon

TOTVS RM

Interact with TOTVS ERP Linha RM — DataServer REST, native REST APIs, and automatic JWT authentication

Customers / Suppliers → Update Person

AI-generated

Summary

Updates an existing customer/supplier (person) record in TOTVS RM through the GlbPessoaData DataServer. Provide the person's primary key in the Record ID field; the node sends an HTTP PUT to /rmsrestdataserver/rest/GlbPessoaData/{recordId} (if Record ID is empty, the PUT goes to the base DataServer URL). Put the fields to change in Request Body (JSON); required fields depend on the DataServer. The node injects a context value into the body before sending: either the RM Context parameter if provided, or a default built from CODCOLIGADA (credential value, or Company Code Override if greater than 0) and CODFILIAL (credential value). Returns the parsed JSON response from the DataServer as the output item; if continueOnFail is enabled, errors are returned as { error: message }.

Inputs

None.

Output shape

Links

Discussion