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

# Update an existing contact

> Actualización parcial de un contacto. Ruta REST; equivale a POST /v1/contact/update con contact_id en el body.



## OpenAPI

````yaml /generated/specs/clients.json patch /api/v1/contact/{contact_id}
openapi: 3.0.0
info:
  title: Raul API - Clientes
  description: Clientes, clientes padre, direcciones, contactos y activos asociados.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags:
  - name: Clients
    description: Gestion de clientes
paths:
  /api/v1/contact/{contact_id}:
    patch:
      tags:
        - Contact
      summary: Update an existing contact
      description: >-
        Actualización parcial de un contacto. Ruta REST; equivale a POST
        /v1/contact/update con contact_id en el body.
      operationId: ContactUpdateController_updateContactRest
      parameters:
        - name: contact_id
          required: true
          in: path
          description: Contact id
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateContactDto'
      responses:
        '200':
          description: Contact updated successfully
        '404':
          description: Contact not found
      security:
        - bearerAuth: []
components:
  schemas:
    UpdateContactDto:
      type: object
      properties:
        contact_name:
          type: string
        contact_nickname:
          type: string
        email:
          type: string
        phone:
          type: string
        address:
          type: string
        linkedin_url:
          type: string
        linkedin_summary:
          type: string
        position:
          type: string
        city_id:
          type: string
          nullable: true
          format: uuid
        role_contact_id:
          type: string
          nullable: true
          format: uuid
        contact_type_id:
          type: string
          nullable: true
          format: uuid
        owner_id:
          type: string
          nullable: true
          format: uuid
        birthday_date:
          type: string
          format: date
          nullable: true
        lifecycle_stage:
          type: number
        lead_status:
          type: string
          nullable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Token de sesión Better Auth para rutas de backoffice; las rutas de
        portal usan su token propio.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.