Skip to main content

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.

searchString
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.

filterByInputDevicesQueryFilter
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!
shopsShopConnection!
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.

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.

searchString
filterByInputStockActivitiesQueryFilter
taxTax
idID!
taxesTaxConnection!
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!
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
filterByInputVariantsQueryFilter
orderBy[InputVariantsOrderBy!]
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.