# Merge resources by type

Canonical page: https://docs.ovok.com/primitives/merge-resources-by-type

This route is listed in the supplied Ovok primitives reference. The merge request and response contract is implementation-specific and has not been confirmed in the available Ovok API schema, so this page records the route without inventing a payload.

| Method | Path |
| --- | --- |
| `POST` | `/fhir/R4/:type/$merge` |

## Contract status [#contract-status]

| Detail | Current documentation status |
| --- | --- |
| Resource type | `:type` identifies the resource type for the merge operation. |
| Request body | Not confirmed. |
| Source and target selection | Not confirmed. |
| Merge rules and history behavior | Not confirmed. |
| Response resource and status | Not confirmed. |

FHIR R4 does not define a generic resource-type `$merge` operation. Before using this route, obtain its Ovok `OperationDefinition` or an approved API contract, then document the required source/target inputs, authorization, merge semantics, and result.

Do not send a production request based only on this route listing. The [FHIR R5 Patient `$merge` operation](https://hl7.org/fhir/operation-patient-merge.html) is a different, Patient-specific standard operation and does not define this route's contract.
