---
title: "Update a distributor investor contract"
method: PUT
path: "/v0/distributor-investor-contracts"
tags: ["Distributor investor contracts"]
---

# Update a distributor investor contract

`PUT /v0/distributor-investor-contracts`

## Request

- Base URL: `https://distributor-api.spiko.io`
- URL: `https://distributor-api.spiko.io/v0/distributor-investor-contracts`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/spiko/apis/spiko-distributor-api/docs/v0/distributor-investor-contracts/put.ts> (a function with typed inputs; its response is checked against the schema)

Update the annual fee of an existing distributor investor contract.

## Request body

- object
  - `id` string, uuid, required: a Universally Unique Identifier
  - `annualFee` string, required: annual fee paid by the investor to the distributor, expressed as a yearly rate (e.g. "0.0025" for 0.25%)

## Response `200`

Success

- object
  - `id` string, uuid, required: a Universally Unique Identifier
  - `distributorId` string, uuid, required: a Universally Unique Identifier
  - `investorId` string, uuid, required: a Universally Unique Identifier
  - `shareClassId` string, uuid, required: a Universally Unique Identifier
  - `annualFee` string, required: annual fee paid by the investor to the distributor, expressed as a yearly rate (e.g. "0.0025" for 0.25%)

## Other responses

- `400`: The request did not match the expected schema
- `401`: Authentication failed. Two bodies are possible: the schema below when the API rejects the credentials, and `{ "error": { "code", "status", "request", "message" } }` when the API gateway rejects them first. Only the former carries a `_tag`.
- `403`: Forbidden
- `404`: NotFound
- `503`: The investor is undergoing a scheduled upgrade, access is temporarily paused to ensure data safety.

---

[API](https://skmtc.dev/spiko/apis/spiko-distributor-api.md) - [All operations](https://skmtc.dev/spiko/apis/spiko-distributor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spiko/apis/spiko-distributor-api/revisions/1f76a401300c?raw)
