Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.

Path Parameters

axisId
string
required

The classification axis id (e.g. ax-colour).

Minimum string length: 1
nodeId
string
required

The id of the node to reparent.

Minimum string length: 1

Body

application/json
newParentId
string | null

The id of the new parent node, or null to move the node to the axis root.

Minimum string length: 1

Response

The axis with the node moved under its new parent.

The axis with the node moved under its new parent.

id
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
scope
enum<string>
required
Available options:
product,
variant,
movement
source
enum<string>
required
Available options:
managed,
local
roots
any[]
required
valueType
enum<string>
Available options:
text,
color,
size,
number,
measure
unit
string
Minimum string length: 1
multiValued
boolean
active
boolean