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

# Update a fund

> 
    Updates an existing fund's information
    



## OpenAPI

````yaml https://api.endaoment.org/oas-json put /v1/funds/{id}
openapi: 3.0.0
info:
  title: Endaoment API
  description: The official Endaoment API endpoints
  version: 0.0.1
  contact: {}
servers:
  - url: https://api.endaoment.org
    description: Production
security: []
tags: []
paths:
  /v1/funds/{id}:
    put:
      tags:
        - Funds
      summary: Update a fund
      description: |2-

            Updates an existing fund's information
            
      operationId: FundsController_updateFund
      parameters:
        - name: id
          required: true
          in: path
          description: The unique identifier of the fund to update
          example: 123e4567-e89b-12d3-a456-426614174000
          schema: {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateFundInputDto'
      responses:
        '200':
          description: Fund successfully updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FundListingDto'
        '400':
          description: Invalid update data provided
        '401':
          description: User is not authenticated or the access token is invalid
        '404':
          description: Fund not found
      security:
        - bearer: []
components:
  schemas:
    UpdateFundInputDto:
      type: object
      properties:
        name:
          type: string
          description: Name of the fund
          example: Education Support Fund
        description:
          type: string
          description: Detailed description of the fund
          example: This fund supports educational initiatives...
        type:
          type: string
          description: Type of the fund
          enum:
            - Private
            - Community
            - Transparent
            - ImpactPool
          example: Community
        logoUrl:
          type: object
          description: URL to the fund's logo image
          example: https://example.com/logo.png
        advisor:
          description: Fund advisor information
          allOf:
            - $ref: '#/components/schemas/AdvisorDto'
        successor:
          description: Successor information
          allOf:
            - $ref: '#/components/schemas/NullableIdentityUpdateInputDto'
    FundListingDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the fund
          example: 123e4567-e89b-12d3-a456-426614174000
        name:
          type: string
          description: Name of the fund
          example: Doe Family Foundation
        type:
          type: string
          description: Access type of the fund
          enum:
            - Private
            - Community
            - Transparent
            - ImpactPool
          example: Private
        manager:
          description: >-
            Basic information about the fund manager. The manager has technical
            capability to interact with the blockchain and perform programmatic
            functions.
          allOf:
            - $ref: '#/components/schemas/FundManager'
        chainId:
          type: object
          description: Chain ID where the fund is deployed
          example: 1
        deploymentTransactionHash:
          type: object
          description: Transaction hash of the deployment transaction
          example: '0xf89f7da1e5d79dcb1b8863d0926fe41204785b443ce2d1dca4bf50070c492567'
          nullable: true
        contractAddress:
          type: object
          description: Contract address of the fund
          example: '0x1234567890123456789012345678901234567890'
          nullable: true
        advisor:
          description: >-
            Fund advisor information. The advisor is tied to a real-world
            person/entity and acts as the public contact for the fund. This can
            be the same person as the manager or someone the manager acts on
            behalf of.
          allOf:
            - $ref: '#/components/schemas/FundAdvisor'
        featuredIndex:
          type: number
          description: >-
            Index determining the fund's position in featured listings. Lower
            numbers appear first
          example: 1
        usdcBalance:
          type: string
          description: >-
            Current synced USDC balance in the smallest currency unit (1000000 =
            1 USD). This does not account for asynchronous grants, asynchronous
            entity transfers, or asynchronous investments that may still be
            processing.
          example: '20500000'
        availableBalance:
          type: string
          description: >-
            Amount available to grant or transfer in the smallest currency unit
            (1000000 = 1 USD), adjusted for invested value, in-transit portfolio
            operations, and pending asynchronous transfers.
          example: '21000000'
        lastBalanceSyncUtc:
          type: object
          description: UTC timestamp of the last balance sync
          example: '2024-03-14T12:00:00Z'
          nullable: true
        description:
          type: string
          description: Detailed description of the fund
          example: A family foundation dedicated to supporting educational initiatives
        shortDescription:
          type: object
          description: Brief description of the fund
          example: Supporting education
          nullable: true
        vanityUrl:
          type: object
          description: Custom URL identifier for the fund
          example: doe-family-foundation
          nullable: true
        paypalId:
          type: object
          description: PayPal merchant ID associated with the fund
          nullable: true
          example: 123e4567-e89b-12d3-a456-426614174000
        logo:
          type: object
          description: URL of the fund's logo image
          example: https://example.com/logo.png
          nullable: true
        createdAtUtc:
          type: string
          description: UTC timestamp of fund creation
          example: '2024-01-01T00:00:00Z'
        updatedAtUtc:
          type: string
          description: UTC timestamp of last fund update
          example: '2024-03-14T12:00:00Z'
        lifetimeDonationsUsdc:
          type: string
          description: >-
            Total lifetime donations received in USDC, in the smallest currency
            unit (1000000 = 1 USD)
          example: '1000000000'
        staffNotes:
          type: string
          description: Internal notes about the fund (staff only)
          nullable: true
        category:
          type: object
          description: Category of the fund (e.g., Education, Health)
          example: Education
          nullable: true
        inboundFeeBps:
          type: number
          description: >-
            The fee charged for inbound operations in basis points (1 basis
            point = 0.01%)
          example: 25
        outboundFeeBps:
          type: number
          description: >-
            The fee charged for outbound operations in basis points (1 basis
            point = 0.01%)
          example: 50
        customFeeDetail:
          type: object
          description: >-
            Details about why this fund has custom fees. Only set if either
            inbound or outbound fee is custom
          example: Special Community Fund Agreement
          nullable: true
        grantsGiven:
          type: number
          description: Total number of grants given by this fund
          example: 10
        inTransitBuyUsdcAmount:
          type: string
          description: >-
            Amount of USDC pending purchase in the smallest currency unit
            (1000000 = 1 USD)
          example: '5000000'
        inTransitSellUsdcAmount:
          type: string
          description: >-
            Amount of USDC pending sale in the smallest currency unit (1000000 =
            1 USD)
          example: '3000000'
        investedUsdc:
          type: string
          description: >-
            Total amount invested in USDC, in the smallest currency unit
            (1000000 = 1 USD)
          example: '50000000'
        totalGrantedUsdc:
          type: string
          description: >-
            Total amount granted in USDC, in the smallest currency unit (1000000
            = 1 USD)
          example: '25000000'
        processingTransfersTotalUsdc:
          type: string
          description: >-
            Total amount in processing transfers in USDC, in the smallest
            currency unit (1000000 = 1 USD)
          example: '1000000'
        illiquidBalance:
          type: string
          description: >-
            Total balance in illiquid portfolios in USDC, in the smallest
            currency unit (1000000 = 1 USD)
          example: '10000000'
      required:
        - id
        - name
        - type
        - manager
        - chainId
        - advisor
        - featuredIndex
        - usdcBalance
        - availableBalance
        - description
        - createdAtUtc
        - updatedAtUtc
        - lifetimeDonationsUsdc
        - inboundFeeBps
        - outboundFeeBps
        - grantsGiven
        - inTransitBuyUsdcAmount
        - inTransitSellUsdcAmount
        - investedUsdc
        - totalGrantedUsdc
        - processingTransfersTotalUsdc
        - illiquidBalance
    AdvisorDto:
      type: object
      properties:
        firstName:
          type: string
          description: First name of the fund advisor
          maxLength: 127
        lastName:
          type: string
          description: Last name of the fund advisor
          maxLength: 127
        email:
          type: string
          description: Email address of the fund advisor
          maxLength: 127
          format: email
        address:
          description: Physical address of the fund advisor
          allOf:
            - $ref: '#/components/schemas/RequiredAddressUpdateInputDto'
    NullableIdentityUpdateInputDto:
      type: object
      properties:
        email:
          type: object
          description: Email address
          example: john.doe@example.com
          maxLength: 127
          nullable: true
        firstName:
          type: object
          description: First name
          example: John
          maxLength: 127
          nullable: true
        lastName:
          type: object
          description: Last name
          example: Doe
          maxLength: 127
          nullable: true
        address:
          description: Physical address information
          nullable: true
          allOf:
            - $ref: '#/components/schemas/NullableAddressUpdateInputDto'
    FundManager:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the fund manager
          example: 123e4567-e89b-12d3-a456-426614174000
        walletAddress:
          type: string
          description: Ethereum wallet address of the fund manager
          example: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e'
      required:
        - id
        - walletAddress
    FundAdvisor:
      type: object
      properties:
        firstName:
          type: string
          description: First name of the fund advisor
          example: John
        lastName:
          type: string
          description: Last name of the fund advisor
          example: Doe
      required:
        - firstName
        - lastName
    RequiredAddressUpdateInputDto:
      type: object
      properties:
        line1:
          type: string
          description: First line of the address
          example: 123 Main Street
          maxLength: 255
        line2:
          type: object
          description: Second line of the address (optional)
          example: Suite 100
          maxLength: 255
          nullable: true
        city:
          type: string
          description: City name
          example: San Francisco
          maxLength: 255
        state:
          type: object
          description: State/Province/Region. Required if country is USA
          example: CA
          maxLength: 255
          nullable: true
        zip:
          type: string
          description: Postal/ZIP code. Required if country is USA
          example: '94105'
          maxLength: 255
          nullable: true
        country:
          type: string
          description: Three-letter ISO country code
          example: USA
          enum:
            - ABW
            - AFG
            - AGO
            - AIA
            - ALA
            - ALB
            - AND
            - ARE
            - ARG
            - ARM
            - ASM
            - ATA
            - ATF
            - ATG
            - AUS
            - AUT
            - AZE
            - BDI
            - BEL
            - BEN
            - BES
            - BFA
            - BGD
            - BGR
            - BHR
            - BHS
            - BIH
            - BLM
            - BLR
            - BLZ
            - BMU
            - BOL
            - BRA
            - BRB
            - BRN
            - BTN
            - BVT
            - BWA
            - CAF
            - CAN
            - CCK
            - CHE
            - CHL
            - CHN
            - CIV
            - CMR
            - COD
            - COG
            - COK
            - COL
            - COM
            - CPV
            - CRI
            - CUB
            - CUW
            - CXR
            - CYM
            - CYP
            - CZE
            - DEU
            - DJI
            - DMA
            - DNK
            - DOM
            - DZA
            - ECU
            - EGY
            - ERI
            - ESH
            - ESP
            - EST
            - ETH
            - FIN
            - FJI
            - FLK
            - FRA
            - FRO
            - FSM
            - GAB
            - GBR
            - GEO
            - GGY
            - GHA
            - GIB
            - GIN
            - GLP
            - GMB
            - GNB
            - GNQ
            - GRC
            - GRD
            - GRL
            - GTM
            - GUF
            - GUM
            - GUY
            - HKG
            - HMD
            - HND
            - HRV
            - HTI
            - HUN
            - IDN
            - IMN
            - IND
            - IOT
            - IRL
            - IRN
            - IRQ
            - ISL
            - ISR
            - ITA
            - JAM
            - JEY
            - JOR
            - JPN
            - KAZ
            - KEN
            - KGZ
            - KHM
            - KIR
            - KNA
            - KOR
            - KWT
            - LAO
            - LBN
            - LBR
            - LBY
            - LCA
            - LIE
            - LKA
            - LSO
            - LTU
            - LUX
            - LVA
            - MAC
            - MAF
            - MAR
            - MCO
            - MDA
            - MDG
            - MDV
            - MEX
            - MHL
            - MKD
            - MLI
            - MLT
            - MMR
            - MNE
            - MNG
            - MNP
            - MOZ
            - MRT
            - MSR
            - MTQ
            - MUS
            - MWI
            - MYS
            - MYT
            - NAM
            - NCL
            - NER
            - NFK
            - NGA
            - NIC
            - NIU
            - NLD
            - NOR
            - NPL
            - NRU
            - NZL
            - OMN
            - PAK
            - PAN
            - PCN
            - PER
            - PHL
            - PLW
            - PNG
            - POL
            - PRI
            - PRK
            - PRT
            - PRY
            - PSE
            - PYF
            - QAT
            - REU
            - ROU
            - RUS
            - RWA
            - SAU
            - SDN
            - SEN
            - SGP
            - SGS
            - SHN
            - SJM
            - SLB
            - SLE
            - SLV
            - SMR
            - SOM
            - SPM
            - SRB
            - SSD
            - STP
            - SUR
            - SVK
            - SVN
            - SWE
            - SWZ
            - SXM
            - SYC
            - SYR
            - TCA
            - TCD
            - TGO
            - THA
            - TJK
            - TKL
            - TKM
            - TLS
            - TON
            - TTO
            - TUN
            - TUR
            - TUV
            - TWN
            - TZA
            - UGA
            - UKR
            - UMI
            - URY
            - USA
            - UZB
            - VAT
            - VCT
            - VEN
            - VGB
            - VIR
            - VNM
            - VUT
            - WLF
            - WSM
            - XKX
            - YEM
            - ZAF
            - ZMB
            - ZWE
    NullableAddressUpdateInputDto:
      type: object
      properties:
        line1:
          type: object
          description: First line of the address
          example: 123 Main Street
          maxLength: 255
          nullable: true
        line2:
          type: object
          description: Second line of the address
          example: Suite 100
          maxLength: 255
          nullable: true
        city:
          type: object
          description: City name
          example: San Francisco
          maxLength: 255
          nullable: true
        state:
          type: object
          description: State/Province/Region
          example: CA
          maxLength: 255
          nullable: true
        country:
          type: string
          description: Three-letter ISO country code
          example: USA
          enum:
            - ABW
            - AFG
            - AGO
            - AIA
            - ALA
            - ALB
            - AND
            - ARE
            - ARG
            - ARM
            - ASM
            - ATA
            - ATF
            - ATG
            - AUS
            - AUT
            - AZE
            - BDI
            - BEL
            - BEN
            - BES
            - BFA
            - BGD
            - BGR
            - BHR
            - BHS
            - BIH
            - BLM
            - BLR
            - BLZ
            - BMU
            - BOL
            - BRA
            - BRB
            - BRN
            - BTN
            - BVT
            - BWA
            - CAF
            - CAN
            - CCK
            - CHE
            - CHL
            - CHN
            - CIV
            - CMR
            - COD
            - COG
            - COK
            - COL
            - COM
            - CPV
            - CRI
            - CUB
            - CUW
            - CXR
            - CYM
            - CYP
            - CZE
            - DEU
            - DJI
            - DMA
            - DNK
            - DOM
            - DZA
            - ECU
            - EGY
            - ERI
            - ESH
            - ESP
            - EST
            - ETH
            - FIN
            - FJI
            - FLK
            - FRA
            - FRO
            - FSM
            - GAB
            - GBR
            - GEO
            - GGY
            - GHA
            - GIB
            - GIN
            - GLP
            - GMB
            - GNB
            - GNQ
            - GRC
            - GRD
            - GRL
            - GTM
            - GUF
            - GUM
            - GUY
            - HKG
            - HMD
            - HND
            - HRV
            - HTI
            - HUN
            - IDN
            - IMN
            - IND
            - IOT
            - IRL
            - IRN
            - IRQ
            - ISL
            - ISR
            - ITA
            - JAM
            - JEY
            - JOR
            - JPN
            - KAZ
            - KEN
            - KGZ
            - KHM
            - KIR
            - KNA
            - KOR
            - KWT
            - LAO
            - LBN
            - LBR
            - LBY
            - LCA
            - LIE
            - LKA
            - LSO
            - LTU
            - LUX
            - LVA
            - MAC
            - MAF
            - MAR
            - MCO
            - MDA
            - MDG
            - MDV
            - MEX
            - MHL
            - MKD
            - MLI
            - MLT
            - MMR
            - MNE
            - MNG
            - MNP
            - MOZ
            - MRT
            - MSR
            - MTQ
            - MUS
            - MWI
            - MYS
            - MYT
            - NAM
            - NCL
            - NER
            - NFK
            - NGA
            - NIC
            - NIU
            - NLD
            - NOR
            - NPL
            - NRU
            - NZL
            - OMN
            - PAK
            - PAN
            - PCN
            - PER
            - PHL
            - PLW
            - PNG
            - POL
            - PRI
            - PRK
            - PRT
            - PRY
            - PSE
            - PYF
            - QAT
            - REU
            - ROU
            - RUS
            - RWA
            - SAU
            - SDN
            - SEN
            - SGP
            - SGS
            - SHN
            - SJM
            - SLB
            - SLE
            - SLV
            - SMR
            - SOM
            - SPM
            - SRB
            - SSD
            - STP
            - SUR
            - SVK
            - SVN
            - SWE
            - SWZ
            - SXM
            - SYC
            - SYR
            - TCA
            - TCD
            - TGO
            - THA
            - TJK
            - TKL
            - TKM
            - TLS
            - TON
            - TTO
            - TUN
            - TUR
            - TUV
            - TWN
            - TZA
            - UGA
            - UKR
            - UMI
            - URY
            - USA
            - UZB
            - VAT
            - VCT
            - VEN
            - VGB
            - VIR
            - VNM
            - VUT
            - WLF
            - WSM
            - XKX
            - YEM
            - ZAF
            - ZMB
            - ZWE
          nullable: true
        zip:
          type: string
          description: Postal/ZIP code
          example: '94105'
          maxLength: 255
          nullable: true
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````