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(id: ID!): Node
  nodes(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!

nodes   ([Node]!)

Argument Type Default Description
ids required [ID!]!

shop   (Shop!)