---
title: "PATCH /api/supplychain-mappings/nodes/{nodeId}"
method: PATCH
path: "/api/supplychain-mappings/nodes/{nodeId}"
tags: ["SupplyChain Nodes"]
---

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

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

Update node facility processes

## Path parameters

- `nodeId` string, required

## Request body

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

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` object, required
    - `id` string, required
    - `parentId` string, nullable, required
    - `supplyChainId` string, required
    - `companyId` string, required
    - `nodeFacilityProcesses` unknown, required
    - `facilityProcesses` object[]
      - `facilityProcessId` string
      - `facilityProcessName` string
    - `createdAt` string
    - `updatedAt` string
    - `createdByCompanyId` string, required
    - `updatedByCompanyId` string, required
    - `numberOfDescendants` number, required
    - `displayName` string, required

## 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 breaking, 1 info
  - the response property `data/parentId` became nullable for the status `200`
  - response property `data/parentId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`

[Change history](https://skmtc.dev/retraced/apis/api-reference/changes/api/supplychain-mappings/nodes/:nodeId/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)
