Skip to content

PATCH /position/

Update Position

PATCH
/position/{positions_key}

Update a position's attributes or reparent it in the hierarchy.

Applies a partial update to the Position document identified by
position_key. If parent_position_key is provided, the existing
is_in_position edge is updated to point to the new parent, moving the
position within the warehouse hierarchy.

Emits: (direct transaction — no event class)
Required scope: inventory:position:update

Authorizations

OAuth2PasswordBearer
password Flow
Token URL"/api/auth"
Scopes:
  • "admin"User can access and edit users and system settings
  • "library"User can access and edit products
  • "production"User can access and edit production plans
  • "operator"User can access the operator panel and make production declarations

Parameters

Query Parameters

position_key*
Type
string
Required
parent_position_key

Request Body

application/json
JSON
{
  
"additionalProperties": "string"
}

Responses

Successful Response

application/json
JSON
{
  
"status": 200,
  
"message": "string",
  
"detail": "string"
}

Samples

Powered by VitePress OpenAPI

Released under the Apache 2.0 License.