---
title: "Move nodes on the supplier network graph"
method: PATCH
path: "/api/network-companies/graph/{id}/nodes"
tags: ["Companies", "Network", "Graph"]
---

# Move nodes on the supplier network graph

`PATCH /api/network-companies/graph/{id}/nodes`

## Request

- Base URL: `https://api.retraced.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.retraced.com/api/network-companies/graph/{id}/nodes`
- Auth: none declared

Stores each node's `position` (`{ x, y }`, both optional; other keys are ignored) on one of the caller's company graphs. 404 `graph_not_found` unless the graph is the caller company's; 400 `some_nodes_are_invalid` unless every id is a distinct node of the graph with at least one facility process — nothing is written then. 204 on success.

## Path parameters

- `id` string, required

## Request body

- object[]
  - `id` string, required
  - `position` object, required
    - `x` number
    - `y` number

## Response `204`

No content

- 'null', nullable: No content

## Other responses

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

## Changes

> 108 revisions in range; 2 not diffed.

- **2026-10-18** `4a6f524fc97b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/retraced/apis/api-reference/changes/api/network-companies/graph/:id/nodes/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.dev/retraced/apis/api-reference/revisions/83309c4abd20?raw)
