fulfillmentTrace

Topics: Logistics

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

Returns

GraphTrace!

Arguments

entityId

ID!Required

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

maxDepth

IntOptional

Maximum traversal depth. Defaults to 5.

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

Exact field 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"])

Declared on Query. Access is checked by the platform for each operation.