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.
Field | Argument | Type | Description |
---|---|---|---|
category | Category | ||
id | ID! | ||
categories | CategoryConnection! | ||
first | Int | Returns up to the first n elements from the list. | |
last | Int | Returns up to the last n elements from the list. | |
before | String | Returns the elements that come before the specified cursor. | |
after | String | Returns the elements that come after the specified cursor. | |
search | String | ||
device | Device | ||
id | ID! | ||
devices | DeviceConnection! | ||
first | Int | Returns up to the first n elements from the list. | |
last | Int | Returns up to the last n elements from the list. | |
before | String | Returns the elements that come before the specified cursor. | |
after | String | Returns the elements that come after the specified cursor. | |
filterBy | InputDevicesQueryFilter | ||
price | Price | ||
id | ID! | ||
prices | PriceConnection! | ||
first | Int | Returns up to the first n elements from the list. | |
last | Int | Returns up to the last n elements from the list. | |
before | String | Returns the elements that come before the specified cursor. | |
after | String | Returns the elements that come after the specified cursor. | |
product | Product | ||
id | ID! | ||
products | ProductConnection! | ||
first | Int | Returns up to the first n elements from the list. | |
last | Int | Returns up to the last n elements from the list. | |
before | String | Returns the elements that come before the specified cursor. | |
after | String | Returns the elements that come after the specified cursor. | |
shop | Shop | ||
id | ID! | ||
shops | ShopConnection! | ||
first | Int | Returns up to the first n elements from the list. | |
last | Int | Returns up to the last n elements from the list. | |
before | String | Returns the elements that come before the specified cursor. | |
after | String | Returns the elements that come after the specified cursor. | |
stockActivity | StockActivity | ||
id | ID! | ||
stockActivities | StockActivityConnection! | ||
first | Int | Returns up to the first n elements from the list. | |
last | Int | Returns up to the last n elements from the list. | |
before | String | Returns the elements that come before the specified cursor. | |
after | String | Returns the elements that come after the specified cursor. | |
search | String | ||
filterBy | InputStockActivitiesQueryFilter | ||
tax | Tax | ||
id | ID! | ||
taxes | TaxConnection! | ||
first | Int | Returns up to the first n elements from the list. | |
last | Int | Returns up to the last n elements from the list. | |
before | String | Returns the elements that come before the specified cursor. | |
after | String | Returns the elements that come after the specified cursor. | |
variant | Variant | ||
id | ID! | ||
stockKeepingUnit | String! | ||
variants | VariantConnection! | ||
first | Int | Returns up to the first n elements from the list. | |
last | Int | Returns up to the last n elements from the list. | |
before | String | Returns the elements that come before the specified cursor. | |
after | String | Returns the elements that come after the specified cursor. | |
search | String | ||
filterBy | InputVariantsQueryFilter | ||
orderBy | [InputVariantsOrderBy!] | ||
variantPrice | VariantPrice | ||
id | ID! | ||
variantPrices | VariantPriceConnection! | ||
first | Int | Returns up to the first n elements from the list. | |
last | Int | Returns up to the last n elements from the list. | |
before | String | Returns the elements that come before the specified cursor. | |
after | String | Returns the elements that come after the specified cursor. |