getShipment

Topics: Logistics

Fetch a shipment by ID. Requires shipment:read permission.

Returns

ShipmentState

Arguments

id

ShipmentID!Required

Shipment ID to fetch

Exact field SDL
"""Fetch a shipment by ID. Requires shipment:read permission."""
getShipment(
  """Shipment ID to fetch"""
  id: ShipmentID!
): ShipmentState @topic(names: ["logistics"])

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