Repository Movements
repositoryMovements Query
Returns a paginated list of RepositoryMovement objects, with optional filtering and ordering.
Arguments
after
Cursor
Returns the elements in the list that come after the specified cursor
first
Int
Returns the first n elements from the list
before
Cursor
Returns the elements in the list that come before the specified cursor
last
Int
Returns the last n elements from the list
orderBy
RepositoryMovementOrder
Ordering options for RepositoryMovements returned from the connection
where
RepositoryMovementWhereInput
Filtering options for RepositoryMovements returned from the connection
Return Type
RepositoryMovementConnection! - A connection to a list of RepositoryMovement objects with pagination information.
Notes
The data field contains custom movement attributes as JSON. You can use the Data, DataHasKey, DataIn, and DataContains filters to query based on JSON content. For complex JSON field queries, see Advanced JSON Field Queries.
Usage Example
query {
# Get pending repository movements
repositoryMovements(
where: { executed: false }
orderBy: { field: CREATED_AT, direction: ASC }
first: 10
) {
edges {
node {
id
repository {
id
name
type
}
from {
name
}
to {
name
}
executed
blockedBy
}
}
totalCount
}
}Common Filters
executed- Filter by execution statusrepositoryID- Find movements for a specific repositoryfromID/toID- Filter by source or destinationblockedBy- Find blocked movementscollectionID- Find movements in a collectionexecutedAt_GTE/executedAt_LTE- Filter by execution date range
Notes
Repository movements track the relocation of dynamic repositories
Use this to monitor pallet movements, tote transfers, etc.
Movements must be executed to take effect
Can be part of collection movements for batch operations
Last updated
Was this helpful?
