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)

Required access

unauthenticated_read_ access scope

Argument Type Default Description
customerAccessToken

required

String!

The customer access token

node   (Node)

Required access

unauthenticated_read_ access scope

Argument Type Default Description
id

required

ID!

The ID of the Node to return.

nodes   ([Node]!)

Required access

unauthenticated_read_ access scope

Argument Type Default Description
ids

required

[ID!]!

The IDs of the Nodes to return.

shop   (Shop!)

Required access

unauthenticated_read_ access scope

Sign up for a Partner account to get started.

Sign up