QueryRoot

The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start.

Show definition
# The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start.
type QueryRoot {
  customer(
    # The customer access token
    customerAccessToken: String!
  ): Customer
  node(
    # The ID of the Node to return.
    id: ID!
  ): Node
  nodes(
    # The IDs of the Nodes to return.
    ids: [ID!]!
  ): [Node]!
  shop: Shop!
}

Fields

customer   (Customer)

Argument Type Default Description
customerAccessToken required String!

The customer access token

node   (Node)

Argument Type Default Description
id required ID!

The ID of the Node to return.

nodes   ([Node]!)

Argument Type Default Description
ids required [ID!]!

The IDs of the Nodes to return.

shop   (Shop!)