You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
OrderQueryInterfaceOrderArgs
Fields to access orders. Includes direct access to a single order and searching for orders.
export type OrderQueryInterfaceOrderArgs = {
id?: InputMaybe<Scalars['String']>;
orderNumber?: InputMaybe<Scalars['String']>;
};