โ† API reference
Query / commerce

getOrderLine

Fetch an order line by ID. Requires order:read permission.

Arguments

Order line ID to fetch

Returns OrderLineState

Scalar fields at a glance

tenantIdTenantID!
orderIdOrderID!
lineNumberInt!
productIdProductID
productSkuString
โ†— View the complete OrderLineState type

Explore in a view

Order Intake
View exact SDL
"""Fetch an order line by ID. Requires order:read permission."""
getOrderLine(
  """Order line ID to fetch"""
  id: OrderLineID!
): OrderLineState @topic(names: ["commerce"])

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