---
title: "PATCH /api/supplychain-mappings/nodes/{nodeId}/replace"
method: PATCH
path: "/api/supplychain-mappings/nodes/{nodeId}/replace"
tags: ["Company Chains"]
---

# PATCH /api/supplychain-mappings/nodes/{nodeId}/replace

`PATCH /api/supplychain-mappings/nodes/{nodeId}/replace`

Replace the company mapped onto a node

## Path parameters

- `nodeId` string, required

## Request body

- object
  - `companyId` string, required
  - `facilityProcesses` object[], required
    - `facilityProcessId` string
    - `facilityProcessName` string

## Response `204`

No content

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response

---

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