---
title: "POST /api/investor-admin/investors/{sourceId}/merge-into/{targetId}"
method: POST
path: "/api/investor-admin/investors/{sourceId}/merge-into/{targetId}"
tags: ["InvestorAdmin"]
---

# POST /api/investor-admin/investors/{sourceId}/merge-into/{targetId}

`POST /api/investor-admin/investors/{sourceId}/merge-into/{targetId}`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/api/investor-admin/investors/{sourceId}/merge-into/{targetId}`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Path parameters

- `sourceId` string, uuid, required
- `targetId` string, uuid, required

## Response `200`

Success

- KhaasFoodHalalInvestmentsDTOsInvestorPersonDto
  - `investorId` string, uuid, nullable
  - `customerId` string, uuid, nullable
  - `email` string, nullable
  - `name` string, nullable
  - `investorCode` string, nullable
  - `contactNumber` string, nullable
  - `nid` string, nullable
  - `presentAddress` string, nullable
  - `permanentAddress` string, nullable
  - `countryOfResidence` string, nullable
  - `occupation` string, nullable
  - `nomineeName` string, nullable
  - `nomineeRelation` string, nullable
  - `nomineeNid` string, nullable
  - `bankName` string, nullable
  - `bankAccountNumber` string, nullable
  - `bankBranch` string, nullable
  - `kycStatus` 1 | 2
  - `kycStatusDisplayName` string, nullable
  - `investedAmount` number, double
  - `totalProfitPaid` number, double
  - `activeProjects` integer
  - `investments` KhaasFoodHalalInvestmentsDTOsHalalInvestmentDto[], nullable
    - `id` string, uuid
    - `customerId` string, uuid, nullable
    - `investorId` string, uuid, nullable
    - `name` string, nullable
    - `email` string, nullable
    - `contactNumber` string, nullable
    - `countryOfResidence` string, nullable
    - `occupation` string, nullable
    - `preferredContactTime` 1 | 2 | 3 | 4
    - `preferredContactTimeDisplayName` string, nullable
    - `interestedProjects` KhaasFoodEnumsFormEnumsHalalInvestmentsInvestmentProject[], nullable
    - `interestedProjectIds` string[], nullable
    - `amount` number, double, nullable
    - `internalNote` string, nullable
    - `status` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
    - `statusDisplayName` string, nullable
    - `creationTime` string, date-time
    - `comments` KhaasFoodHalalInvestmentsDTOsHalalInvestmentCommentDto[], nullable
      - `time` string, date-time
      - `comment` string, nullable
      - `userName` string, nullable
      - `userEmail` string, nullable
    - `nid` string, nullable
    - `nomineeName` string, nullable
    - `nomineeRelation` string, nullable
    - `nomineeNid` string, nullable
    - `subInvestorName` string, nullable
    - `relationshipWithParent` string, nullable
    - `sameAsParent` boolean
    - `presentAddress` string, nullable
    - `permanentAddress` string, nullable
    - `investmentModel` 1 | 2 | 3
    - `investmentModelDisplayName` string, nullable
    - `investorCode` string, nullable
    - `investmentCode` string, nullable
    - `startDate` string, date-time, nullable
    - `endDate` string, date-time, nullable
    - `numberOfInstallments` integer, nullable
    - `profitDisbursementFrequency` 3 | 4 | 6 | 99
    - `profitDisbursementFrequencyDisplayName` string, nullable
    - `fundStatus` 1 | 2 | 3
    - `fundStatusDisplayName` string, nullable
    - `projectStatus` 1 | 2
    - `projectStatusDisplayName` string, nullable
    - `isWithdrawn` boolean
    - `withdrawalDate` string, date-time, nullable
    - `withdrawalPrincipalReturned` number, double, nullable
    - `withdrawalProfitPercentage` number, double, nullable
    - `withdrawalProfitPaid` number, double, nullable
    - `withdrawalDisbursementMethod` 1 | 2 | 3
    - `withdrawalDisbursementMethodDisplayName` string, nullable
    - `withdrawalReason` string, nullable
    - `withdrawalTransactionReference` string, nullable
    - `withdrawalBankName` string, nullable
    - `isReinvested` boolean
    - `reinvestedToInvestmentId` string, uuid, nullable
    - `reinvestedToInvestmentCode` string, nullable
    - `reinvestedToProjectName` string, nullable
    - `reinvestedToAmount` number, double, nullable
    - `reinvestedToStatusDisplayName` string, nullable
    - `reinvestedFromInvestmentId` string, uuid, nullable
    - `reinvestedFromInvestmentCode` string, nullable
    - `reinvestedFromProjectName` string, nullable
    - `reinvestmentDate` string, date-time, nullable
    - `reinvestedPrincipal` number, double, nullable
    - `bankName` string, nullable
    - `bankAccountNumber` string, nullable
    - `bankBranch` string, nullable
    - `projectCode` string, nullable
    - `kycStatus` 1 | 2
    - `kycStatusDisplayName` string, nullable
    - `approvalStatus` 1 | 2 | 3
    - `approvalStatusDisplayName` string, nullable
    - `approvedBy` string, uuid, nullable
    - `approvedTime` string, date-time, nullable
    - `investorUserId` string, uuid, nullable
    - `onboardedTime` string, date-time, nullable
    - `projectName` string, nullable
    - `totalProfitEarned` number, double
    - `documentCount` integer

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

## Changes

> 11 revisions in range; 1 not diffed.

- **2026-11-16** `149b6034bea9`: 3 warning, 39 info
  - added the new `3.00` enum value to the `investments/items/fundStatus` response property for the response status `200` (media type: text/plain)
  - added the new `3.00` enum value to the `investments/items/fundStatus` response property for the response status `200` (media type: application/json)
  - added the new `3.00` enum value to the `investments/items/fundStatus` response property for the response status `200` (media type: text/json)
  - added the optional property `investments/items/isReinvested` to the response with the `200` status (media type: text/plain)
  - …38 more
- **2026-11-10** `50aa87d7d019`: 27 info
  - added the optional property `investments/items/documentCount` to the response with the `200` status (media type: text/plain)
  - added the optional property `investments/items/documentCount` to the response with the `200` status (media type: application/json)
  - added the optional property `investments/items/documentCount` to the response with the `200` status (media type: text/json)
  - added the optional property `investments/items/isWithdrawn` to the response with the `200` status (media type: text/plain)
  - …23 more
- **2026-11-01** `664d574d3e4d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/khaasfood/apis/khaasfood-api/changes/api/investor-admin/investors/:sourceId/merge-into/:targetId/post.md)

---

[API](https://skmtc.dev/khaasfood/apis/khaasfood-api.md) - [All operations](https://skmtc.dev/khaasfood/apis/khaasfood-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khaasfood/apis/khaasfood-api/revisions/149b6034bea9?raw)
