---
agentTools:
  projectIndex: https://atendare.readme.io/llms.txt
---

# Editar qualificação

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Atendare API - v2",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.atendare.com/v2"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/qualifications/{id}": {
      "patch": {
        "summary": "Editar qualificação",
        "description": "",
        "operationId": "edit-qualifications",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Qualification ID",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "required": true
          },
          {
            "name": "Access-Token",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "pipeline_id",
                  "stage_id"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "Nome da qualificação"
                  },
                  "start_date": {
                    "type": "string",
                    "description": "Data de início",
                    "format": "date"
                  },
                  "end_date": {
                    "type": "string",
                    "description": "Data de fim",
                    "format": "date"
                  },
                  "visibility": {
                    "type": "string",
                    "description": "Visibilidade da qualificação",
                    "default": "2 = private",
                    "enum": [
                      "1 = organization",
                      "2 = private",
                      "3 = team"
                    ]
                  },
                  "company_id": {
                    "type": "integer",
                    "description": "ID da empresa",
                    "format": "int64"
                  },
                  "contact_id": {
                    "type": "integer",
                    "description": "ID do contato",
                    "format": "int64"
                  },
                  "pipeline_id": {
                    "type": "integer",
                    "description": "ID do Pipeline",
                    "format": "int64"
                  },
                  "stage_id": {
                    "type": "integer",
                    "description": "ID da etapa do pipeline",
                    "format": "int64"
                  },
                  "source_id": {
                    "type": "integer",
                    "description": "ID da fonte",
                    "format": "int64"
                  },
                  "responsible_id": {
                    "type": "integer",
                    "description": "ID do usuário responsável",
                    "format": "int64"
                  },
                  "participants": {
                    "type": "array",
                    "description": "Lista de participantes",
                    "items": {
                      "properties": {
                        "name": {
                          "type": "integer",
                          "format": "int32"
                        },
                        "person_id": {
                          "type": "integer",
                          "format": "int32"
                        },
                        "is_main": {
                          "type": "boolean"
                        },
                        "type_id": {
                          "type": "integer",
                          "format": "int32"
                        },
                        "type": {
                          "type": "integer",
                          "format": "int32"
                        }
                      },
                      "type": "object"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "61f3f7309a3abf0010b92516:626c15a276bab002de88a58b"
}
```