Merge or pull changes into a collection fork
[Merges](https://learning.postman.com/docs/collaborating-in-postman/using-version-control/forking-elements/#merge-changes-from-a-fork) a forked (source) collection and its parent (destination) collection asynchronously. To pull changes into a fork, pass the forked collection's ID as the `destination` value and the parent collection ID as the `source` value.
The response returns a task `id` value, which you can use to track the merge's status with the GET `/collection-merges-tasks/{taskId}` endpoint.
Authentication
x-api-keystring
API Key authentication via header
OR
Authorizationstring
A valid [SCIM API key](https://learning.postman.com/docs/administration/scim-provisioning/scim-provisioning-overview/#generating-scim-api-key) for calls to SCIM endpoints.
OR
AuthorizationBasic
Basic authentication of the form Basic <base64(username:password)>.
Request
This endpoint expects an object.
strategy
The fork’s merge strategy:
default— Make no changes to the fork. You must have Editor access to the destination collection.updateSourceWithDestination— Merge changes and apply any differences in the destination collection to the source. You must have Editor access to both the source and destination collection.deleteSource— Merge the changes and delete the fork. You must have Editor access to both the source and destination collection.
source
The source collection's unique ID.
destination
The destination collection's unique ID.
Response
Successful Response
task
Information about the merge task.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error