Queries

The root Query type in a GraphQL schema defines all the write operations that can get data.

The array search consists in the Connections. To facilitate the use of them, there are some possible arguments. Their structure is also specified as follows.

FieldArgumentTypeDescription
categoryCategory
idID!
categoriesCategoryConnection!
firstInt

Returns up to the first n elements from the list.

lastInt

Returns up to the last n elements from the list.

beforeString

Returns the elements that come before the specified cursor.

afterString

Returns the elements that come after the specified cursor.

deviceDevice
idID!
devicesDeviceConnection!
firstInt

Returns up to the first n elements from the list.

lastInt

Returns up to the last n elements from the list.

beforeString

Returns the elements that come before the specified cursor.

afterString

Returns the elements that come after the specified cursor.

pricePrice
idID!
pricesPriceConnection!
firstInt

Returns up to the first n elements from the list.

lastInt

Returns up to the last n elements from the list.

beforeString

Returns the elements that come before the specified cursor.

afterString

Returns the elements that come after the specified cursor.

productProduct
idID!
productsProductConnection!
firstInt

Returns up to the first n elements from the list.

lastInt

Returns up to the last n elements from the list.

beforeString

Returns the elements that come before the specified cursor.

afterString

Returns the elements that come after the specified cursor.

shopShop
idID!
stockActivityStockActivity
idID!
stockActivitiesStockActivityConnection!
firstInt

Returns up to the first n elements from the list.

lastInt

Returns up to the last n elements from the list.

beforeString

Returns the elements that come before the specified cursor.

afterString

Returns the elements that come after the specified cursor.

variantVariant
idID!
variantByStockKeepingUnitVariant
stockKeepingUnitString!
variantsVariantConnection!
firstInt

Returns up to the first n elements from the list.

lastInt

Returns up to the last n elements from the list.

beforeString

Returns the elements that come before the specified cursor.

afterString

Returns the elements that come after the specified cursor.

searchString
archivedBoolean
variantPriceVariantPrice
idID!
variantPricesVariantPriceConnection!
firstInt

Returns up to the first n elements from the list.

lastInt

Returns up to the last n elements from the list.

beforeString

Returns the elements that come before the specified cursor.

afterString

Returns the elements that come after the specified cursor.