โ† API reference
Query / commerce

getOrderBy

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

Arguments

externalIdString

External system identifier

Returns OrderState

Scalar fields at a glance

tenantIdTenantID!
orderNumberString!
externalIdString
poReferenceString
customerIdCustomerID!
โ†— View the complete OrderState type

Explore in a view

Order Intake
View exact SDL
"""Fetch an order by external ID. Requires order:read permission."""
getOrderBy(
  """External system identifier"""
  externalId: String
): OrderState @topic(names: ["commerce"])

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