GuidesRecipesAPI Reference
Log In
Guides

Update an investor entity

You can update asset information using the following API:

Important note:

This PUT request replaces the entire existing record with the body. It's crucial to include all pertinent fields of the entity, which can be obtained from this investor fetch endpoint.

Value
HTTP MethodPUT
Path/api/entities/investor/{scopeId}/{investorId}
Request parameterScope ID: A scope ID in which you want to retrieve investor entity information

Investor ID (number): An investor entity's unique ID
Reference[updateinvestorinfo] (https://apidocs.quantium.pe/reference/updateinvestorinfo)
Request BodyInvestor object in JSON, retrieve the full investor body and only update desired records.

The required fields are:
- name
- typeId
- investorId

Request body example

{
  "name": "Limited Partner #123",
  "typeId": 1,
  "id": 21,
}

Response

200 (OK)The asset information has been updated successfully
400 (Bad request)Your request parameter or Body is not in the correct format. Please check the error message for the reason
404 (Not found)The given asset ID doesn't exist in the database