> ## 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.

# Actualizar una moneda

> Operacion: Actualizar una moneda.



## OpenAPI

````yaml /generated/specs/sales.json post /api/v1/currency/update
openapi: 3.0.0
info:
  title: Raul API - Ventas
  description: >-
    Cotizaciones, pipeline, outreach comercial, equipos cotizables y ventas de
    equipamiento.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/v1/currency/update:
    post:
      tags:
        - Currency
      summary: Actualizar una moneda
      description: 'Operacion: Actualizar una moneda.'
      operationId: CurrencyController_update
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCurrencyDto'
      responses:
        '200':
          description: Moneda actualizada exitosamente
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrencyResponseDto'
        '404':
          description: Moneda no encontrada
      security:
        - bearerAuth: []
components:
  schemas:
    UpdateCurrencyDto:
      type: object
      properties:
        subscription_currency_id:
          type: number
          description: ID de la moneda a actualizar
          example: 1
        subscription_currency_name:
          type: string
          description: Nombre de la moneda
          example: UF
      required:
        - subscription_currency_id
        - subscription_currency_name
    CurrencyResponseDto:
      type: object
      properties:
        subscription_currency_id:
          type: number
          description: ID de la moneda
          example: 1
        subscription_currency_name:
          type: string
          description: Nombre de la moneda
          example: CLP
      required:
        - subscription_currency_id
        - subscription_currency_name
  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.