---
title: "Merge updates from canonical"
method: POST
path: "/dispatch/tasks/{task_id}/merge-updates"
tags: ["Dispatch"]
---

# Merge updates from canonical

`POST /dispatch/tasks/{task_id}/merge-updates`

Apply selected endpoint updates from the canonical version into your API. New endpoints also merge code; spec-only updates preserve your code.

## Path parameters

- `task_id` string, required

## Request body

- MergeUpdatesRequest
  - `endpoints` string[], required — Endpoint names to merge from canonical

## Response `200`

Merge result

- MergeUpdatesResponse
  - `merged` integer — Number of endpoints merged
  - `endpoints` string[] — Endpoint names that were merged
  - `code_merged` boolean — Whether scraper code was also updated (true when new endpoints are merged)

---

[API](https://skmtc.dev/parse/apis/parse-api.md) · [All operations](https://skmtc.dev/parse/apis/parse-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/parse/parse-api/revisions/ebc08aeee348/schema)
