← API reference
Query / logistics

fulfillmentTrace

Lineage subgraph (nodes + edges) around a fulfillment entity. Requires fulfillment:read permission.

Arguments

entityIdID!

TypeID of the seed entity (e.g. "ord_01K…"); its prefix names the entity kind.

maxDepthInt

Maximum traversal depth. Defaults to 5.

directionString

Traversal direction: "downstream", "upstream", or "both". Defaults to "both".

Returns GraphTrace!

Explore in a view

Fulfillment
View exact SDL
"""
Lineage subgraph (nodes + edges) around a fulfillment entity. Requires fulfillment:read permission.
"""
fulfillmentTrace(
  """
  TypeID of the seed entity (e.g. "ord_01K…"); its prefix names the entity kind.
  """
  entityId: ID!
  """Maximum traversal depth. Defaults to 5."""
  maxDepth: Int
  """
  Traversal direction: "downstream", "upstream", or "both". Defaults to "both".
  """
  direction: String
): GraphTrace! @topic(names: ["logistics"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.