> ## Documentation Index
> Fetch the complete documentation index at: https://docs.synax.app.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Atualizar negócio



## OpenAPI

````yaml /openapi.json patch /deals/{id}
openapi: 3.1.0
info:
  title: Synax API
  description: >-
    API pública do Synax para integrações externas. Usa API Keys para
    autenticação e o endpoint api-proxy para todas as operações CRUD.
  version: 2.0.0
  contact:
    name: Synax
    url: https://synax.app.br
servers:
  - url: https://api.synax.app.br/functions/v1/api-proxy
    description: Produção
security:
  - bearerApiKey: []
paths:
  /deals/{id}:
    patch:
      tags:
        - Negócios
      summary: Atualizar negócio
      operationId: updateDeal
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                value:
                  type: number
                status:
                  type: string
                  enum:
                    - open
                    - won
                    - lost
                stage_id:
                  type: string
                  format: uuid
      responses:
        '200':
          description: Deal atualizado
components:
  securitySchemes:
    bearerApiKey:
      type: http
      scheme: bearer
      description: 'API Key gerada em Configurações > API. Formato: sk_live_...'

````