Query

Every GraphQL schema has a root type for both queries and mutations. The query type defines GraphQL operations that retrieve data from the server.

Connections

completedOrders (OrderConnection!)

Customer Completed Orders.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

countries (CountryConnection!)

Supported Countries.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

products (ProductConnection!)

Supported Products.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

query ProductsQueryInput
taxonomies (TaxonomyConnection!)

Supported Taxonomies.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

Fields

currentOrder (Order)

Current Order.

currentStore (Store)

Current Store.

currentUser (User)

Current logged User.

node (Node)

Fetches an object given its ID.

Argument Type Description
id ID!

ID of the object.

nodes ([Node]!)

Fetches a list of objects given a list of IDs.

Argument Type Description
ids [ID!]!

IDs of the objects.

productBySlug (Product)

Find a product by its slug.

Argument Type Description
slug String!