You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
CartQueryInterface
Fields to access carts. Includes direct access to a single cart and searching for carts.
export type CartQueryInterface = {
cart?: Maybe<Cart>;
carts: CartQueryResult;
};