---
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

- 'null', nullable — No content

## Other responses

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

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-08-31** `97e51f27dc77` — 1 info
  - added the media type `application/json` for the response with the status `204`

[Change history](https://skmtc.dev/retraced/apis/api-reference/changes/api/supplychain-mappings/nodes/:nodeId/replace/patch.md)

---

[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/97e51f27dc77/schema)
