TransactionType

TransactionType Type

Enum defining the direction of inventory transactions in the system.

Values

Value
Description

into

Transaction that moves inventory into a repository

out

Transaction that moves inventory out of a repository

Usage Example

query {
  transactions(
    where: { type: into }
    orderBy: { direction: DESC, field: CREATED_AT }
  ) {
    edges {
      node {
        id
        itemID
        quantity
        type
        repositoryID
      }
    }
  }
}

Last updated

Was this helpful?