PipeRun API icon

PipeRun API

Interact with the PipeRun CRM API.

Actions220

Deals → Atualizar Regra De Preenchimento De Campo

AI-generated

Summary

Updates a PipeRun deal field completion rule by its required ID. You can optionally change its pipeline, applicable stages, fields, custom forms, and which deal actions the rule blocks.

Inputs

  • Required Field Rule Id (required) — ID of the rule to update.
  • Pipeline Id — Pipeline ID to associate with the rule.
  • Stage Id — JSON array of stage IDs where the rule applies.
  • Native Field — Native field ID included in the rule.
  • Custom Field Id — Custom field ID included in the rule.
  • Custom Forms — JSON array of custom form IDs.
  • Action Win — Whether the rule blocks winning a deal; defaults to true.
  • Action Lose — Whether the rule blocks losing a deal; defaults to true.
  • Action Freeze — Whether the rule blocks freezing a deal; defaults to true.
  • Action Duplicate — Whether the rule blocks duplicating a deal; defaults to true.
  • Action Change Stage — Whether the rule blocks moving a deal to another stage; defaults to true.
  • Custom Body Fields — Optional key/value fields to add to the root request body. String values that look like JSON, booleans, or numbers are parsed when possible.
  • Custom Body (JSON) — Optional JSON object merged into the root request body; its keys override matching body fields.
  • Custom Query Parameters — Optional key/value query parameters appended to the request.
  • Custom Query (JSON) — Optional JSON object merged into the query parameters; its keys override matching query parameters.
  • Request Options — Request settings including batching, SSL certificate validation, proxy, and timeout.

Output shape

A list of items returned by the PipeRun API.

Uses the configured PipeRun API credentials. Stage Id and Custom Forms are JSON inputs; invalid JSON in the custom JSON body or query fields raises an error.

Links

Discussion