# Queries

### attribute

Finds an `Attribute`.

Returns: [**Attribute**](https://docs.ergonode.com/graphql/overview/interfaces#attribute)

Arguments:

| code | [**AttributeCode!**](https://docs.ergonode.com/graphql/overview/scalars#attributecode) | The code of a searched `Attribute`. |
| ---- | -------------------------------------------------------------------------------------- | ----------------------------------- |

### attributeDeletedStream

Provides a [stream](https://docs.ergonode.com/graphql/query-types#streams) of deleted attribute codes.

Returns: [**AttributeDeletedConnection**](https://docs.ergonode.com/graphql/overview/objects#attributedeletedconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                    |
| ----- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 200.<br>The default value is 50.</p> |

### attributeOptionList

Provides a list of attribute options.

Returns: [**OptionConnection**](https://docs.ergonode.com/graphql/overview/objects#optionconnection)

Arguments:

| code    | [**AttributeCode!**](https://docs.ergonode.com/graphql/overview/scalars#attributecode)                                        | The code of a searched `Attribute`.                                                                                              |
| ------- | ----------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| filters | [**AttributeOptionListFilterInput**](https://docs.ergonode.com/graphql/overview/input-objects#attributeoptionlistfilterinput) | Filters for the query.                                                                                                           |
| after   | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string)                                                       | Provides elements after the specified cursor.                                                                                    |
| first   | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)                                                             | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 200.<br>The default value is 50.</p> |

### attributeStream

Provides a [stream](https://docs.ergonode.com/graphql/query-types#streams) of attributes.

Returns: [**AttributeConnection**](https://docs.ergonode.com/graphql/overview/objects#attributeconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                    |
| ----- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 200.<br>The default value is 50.</p> |

### category

Finds a `Category`.

Returns: [**Category**](https://docs.ergonode.com/graphql/overview/objects#category)

Arguments:

| code | [**CategoryCode!**](https://docs.ergonode.com/graphql/overview/scalars#categorycode) | The code of a searched `Category`. |
| ---- | ------------------------------------------------------------------------------------ | ---------------------------------- |

### categoryAttributeList

Provides a list of attributes allowed to be used in a category.

Returns: [**AttributeConnection**](https://docs.ergonode.com/graphql/overview/objects#attributeconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                    |
| ----- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 500.<br>The default value is 50.</p> |

### categoryDeletedStream

Provides a [stream](https://docs.ergonode.com/graphql/query-types#streams) of deleted category codes.

Returns: [**CategoryDeletedConnection**](https://docs.ergonode.com/graphql/overview/objects#categorydeletedconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                    |
| ----- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 200.<br>The default value is 50.</p> |

### categoryStream

Provides a [stream](https://docs.ergonode.com/graphql/query-types#streams) of categories.

Returns: [**CategoryConnection**](https://docs.ergonode.com/graphql/overview/objects#categoryconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                    |
| ----- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 200.<br>The default value is 50.</p> |

### categoryTree

Finds a `CategoryTree`.

Returns: [**CategoryTree**](https://docs.ergonode.com/graphql/overview/objects#categorytree)

Arguments:

| code | [**CategoryTreeCode!**](https://docs.ergonode.com/graphql/overview/scalars#categorytreecode) | The code of a searched `CategoryTree`. |
| ---- | -------------------------------------------------------------------------------------------- | -------------------------------------- |

### categoryTreeDeletedStream

Provides a [stream](https://docs.ergonode.com/graphql/query-types#streams) of deleted category tree codes.

Returns: [**CategoryTreeDeletedConnection**](https://docs.ergonode.com/graphql/overview/objects#categorytreedeletedconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                    |
| ----- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 200.<br>The default value is 50.</p> |

### categoryTreeStream

Provides a [stream](https://docs.ergonode.com/graphql/query-types#streams) of category trees.

Returns: [**CategoryTreeConnection**](https://docs.ergonode.com/graphql/overview/objects#categorytreeconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                    |
| ----- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 200.<br>The default value is 50.</p> |

### languageList

Provides a list of active languages.

Returns: [**LanguageConnection**](https://docs.ergonode.com/graphql/overview/objects#languageconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                     |
| ----- | ----------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 1000.<br>The default value is 50.</p> |

### multimedia

Finds a `Multimedia`.

Returns: [**Multimedia**](https://docs.ergonode.com/graphql/overview/objects#multimedia)

Arguments:

| path | [**MultimediaPath!**](https://docs.ergonode.com/graphql/overview/scalars#multimediapath) | The path of a searched `Multimedia`. |
| ---- | ---------------------------------------------------------------------------------------- | ------------------------------------ |

### multimediaAttributeList

Provides a list of attributes allowed to be used in a multimedia.

Returns: [**AttributeConnection**](https://docs.ergonode.com/graphql/overview/objects#attributeconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                    |
| ----- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 500.<br>The default value is 50.</p> |

### multimediaFolder

Finds a `MultimediaFolder`.

Returns: [**MultimediaFolder**](https://docs.ergonode.com/graphql/overview/objects#multimediafolder)

Arguments:

| path | [**MultimediaFolderPath!**](https://docs.ergonode.com/graphql/overview/scalars#multimediafolderpath) | The path of a searched `MultimediaFolder`. |
| ---- | ---------------------------------------------------------------------------------------------------- | ------------------------------------------ |

### multimediaFolderList

Provides a list of multimedia folders.

Returns: [**MultimediaFolderConnection**](https://docs.ergonode.com/graphql/overview/objects#multimediafolderconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                    |
| ----- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 300.<br>The default value is 50.</p> |

### multimediaStream

Provides a [stream](https://docs.ergonode.com/graphql/query-types#streams) of multimedia.

Returns: [**MultimediaConnection**](https://docs.ergonode.com/graphql/overview/objects#multimediaconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                    |
| ----- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 200.<br>The default value is 50.</p> |

### product

Finds a `Product`.

Returns: [**Product**](https://docs.ergonode.com/graphql/overview/interfaces#product)

Arguments:

| sku | [**Sku!**](https://docs.ergonode.com/graphql/overview/scalars#sku) | The sku of a searched `Product`. |
| --- | ------------------------------------------------------------------ | -------------------------------- |

### productByUniqueAttribute

Finds a `Product` by unique attribute value.

Returns: [**Product**](https://docs.ergonode.com/graphql/overview/interfaces#product)

Arguments:

| attributeCode | [**AttributeCode!**](https://docs.ergonode.com/graphql/overview/scalars#attributecode) | The code of unique attribute `Product` is searched by.  |
| ------------- | -------------------------------------------------------------------------------------- | ------------------------------------------------------- |
| value         | [**String!**](https://docs.ergonode.com/graphql/overview/scalars#string)               | The value of unique attribute `Product` is searched by. |

### productDeletedStream

Provides a [stream](https://docs.ergonode.com/graphql/query-types#streams) of deleted product SKUs.

Returns: [**ProductDeletedConnection**](https://docs.ergonode.com/graphql/overview/objects#productdeletedconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                    |
| ----- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 200.<br>The default value is 50.</p> |

### productStream

Provides a [stream](https://docs.ergonode.com/graphql/query-types#streams) of products.

Returns: [**ProductConnection**](https://docs.ergonode.com/graphql/overview/objects#productconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                    |
| ----- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 200.<br>The default value is 50.</p> |

### productVariantParent

Finds a parent `VariableProduct` identified by variant Sku.

Returns: [**VariableProduct**](https://docs.ergonode.com/graphql/overview/objects#variableproduct)

Arguments:

| variantSku | [**Sku!**](https://docs.ergonode.com/graphql/overview/scalars#sku) | The Sku of variant to find a parent `VariableProduct`. |
| ---------- | ------------------------------------------------------------------ | ------------------------------------------------------ |

### section

Finds a `Section`.

Returns: [**Section**](https://docs.ergonode.com/graphql/overview/objects#section)

Arguments:

| code | [**SectionCode!**](https://docs.ergonode.com/graphql/overview/scalars#sectioncode) | The code of a searched `Section`. |
| ---- | ---------------------------------------------------------------------------------- | --------------------------------- |

### sectionList

Provides a list of sections.

Returns: [**SectionConnection**](https://docs.ergonode.com/graphql/overview/objects#sectionconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                    |
| ----- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 100.<br>The default value is 50.</p> |

### template

Finds a `Template`.

Returns: [Template](https://docs.ergonode.com/graphql/overview/objects#template)

Arguments:

| code | [TemplateCode!](https://docs.ergonode.com/graphql/overview/scalars#templatecode) | The code of a searched `Template`. |
| ---- | -------------------------------------------------------------------------------- | ---------------------------------- |

### templateList

Provides a list of templates.

Returns: [**TemplateConnection**](https://docs.ergonode.com/graphql/overview/objects#templateconnection)

Arguments:

| after | [**String**](https://docs.ergonode.com/graphql/overview/scalars#string) | Provides elements after the specified cursor.                                                                                    |
| ----- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| first | [**Int**](https://docs.ergonode.com/graphql/overview/scalars#int)       | <p>Provides up to first <code>n</code> results. Value cannot be less than 0 and higher than 100.<br>The default value is 50.</p> |
