Skip to content

GET /movement/latest-positions

Get Recent Movement Positions

GET
/movement/latest-positions

Return recently used movement positions for a user.

Retrieves the most recently used source (from) or destination (to)
positions from the movement collection, optionally scoped to a specific
user and movement type. Useful for quick-access position suggestions in the
warehouse UI.

Emits: (direct query — no event class)
Required scope: inventory:movement:read

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

user_key
position_type
movement_type
limit
Default
10

Responses

Successful Response

application/json
JSON
[
  
{
  
  
"_id": "string",
  
  
"_key": "string",
  
  
"_rev": "string",
  
  
"code": "WAREHOUSE-A",
  
  
"owned": true,
  
  
"available": true,
  
  
"disposable": false,
  
  
"fixed": true,
  
  
"deleted": false,
  
  
"created": "2026-05-15T10:00:00Z",
  
  
"allow_consumption": true,
  
  
"extra": "string"
  
}
]

Samples

Powered by VitePress OpenAPI

Released under the Apache 2.0 License.