Resgata icon

Resgata

Integracao completa com a API Resgata para gestao de credito consignado

Lead → Atualizar Lead

AI-generated

Summary

Update an existing lead in the Resgata system by specifying the lead's CPF and providing the fields to update.

Inputs

  • CPF (required) — The CPF (Brazilian individual taxpayer registry identification) of the lead to update.
  • Update Fields — A collection of optional fields to update for the lead, including name, birth date, up to five phone numbers, request ID, validity date, company ID, bank code, value, number of installments, employer document (CNPJ), employer type and code, registration, eligibility status, and admission date.

Output shape

a single JSON object representing the updated lead's data as returned by the Resgata API.

The output corresponds to the API response after successfully updating the lead. If errors occur, error objects may be returned if 'Continue On Fail' is enabled.

Examples

Example 1: Updating a lead's phone number and eligibility status by specifying the CPF and providing new phone number and eligible flag in the update fields.

Set resource to 'Lead', operation to 'Atualizar Lead', input the target lead's CPF, and add desired fields to update in the updateFields collection.

Discussion