> For the complete documentation index, see [llms.txt](https://docs.ergonode.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ergonode.com/graphql/overview/schema/interfaces.md).

# Interfaces

Interfaces represent a parent for Objects providing definition of common fields.

### Attribute

An attribute represents a type of value that can be assigned to a product.

Fields:

| code                                                                                                         | [**AttributeCode!**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#attributecode)             | Readable id of `Attribute`.                                                  |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------- |
| name (languages: [**\[Language!\]**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#language)) | [**\[TranslatedString!\]!**](https://docs.ergonode.com/graphql/overview/schema/objects.md#translatedstring)  | Translatable name allowing to set different values in every active language. |
| scope                                                                                                        | [**AttributeScope!**](https://docs.ergonode.com/graphql/overview/schema/enums.md#attributescope)             | Scope of `Attribute` determining its values behavior.                        |
| hint (languages: [**\[Language!\]**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#language)) | name (languages: [**\[Language!\]**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#language)) | Translatable hint allowing to set different values in every active language. |
| metadata                                                                                                     | [**\[Metadatum!\]!**](https://docs.ergonode.com/graphql/overview/schema/objects.md#metadatum)                | Metadata allows describing the `Attribute` in an enhanced, custom way.       |

Implemented by:

* [**DateAttribute**](https://docs.ergonode.com/graphql/overview/schema/objects.md#dateattribute)
* [**FileAttribute**](https://docs.ergonode.com/graphql/overview/schema/objects.md#fileattribute)
* [**GalleryAttribute**](https://docs.ergonode.com/graphql/overview/schema/objects.md#galleryattribute)
* [**ImageAttribute**](https://docs.ergonode.com/graphql/overview/schema/objects.md#imageattribute)
* [**MultiSelectAttribute**](https://docs.ergonode.com/graphql/overview/schema/objects.md#multiselectattribute)
* [**NumericAttribute**](https://docs.ergonode.com/graphql/overview/schema/objects.md#numericattribute)
* [**OptionAttribute**](#optionattribute)
* [**PriceAttribute**](https://docs.ergonode.com/graphql/overview/schema/objects.md#priceattribute)
* [**ProductRelationAttribute**](https://docs.ergonode.com/graphql/overview/schema/objects.md#productrelationattribute)
* [**SelectAttribute**](https://docs.ergonode.com/graphql/overview/schema/objects.md#selectattribute)
* [**TextareaAttribute**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textareaattribute)
* [**TextAttribute**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textattribute)
* [**UnitAttribute**](https://docs.ergonode.com/graphql/overview/schema/objects.md#unitattribute)

### AttributeValue

Represents a value defining a specific attribute.

Fields:

| translations (languages: [**\[Language!\]**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#language)) | [**\[AttributeValueTranslation!\]!**](https://docs.ergonode.com/graphql/overview/schema/interfaces.md#attributevaluetranslation) | A value translations.                        |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- |
| attribute                                                                                                            | [**Attribute!**](#attribute)                                                                                                     | An `Attribute` describing the type of value. |

Implemented by:

* [**DateAttributeValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#dateattributevalue)
* [**FileAttributeValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#fileattributevalue)
* [**GalleryAttributeValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#galleryattributevalue)
* [**ImageAttributeValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#imageattributevalue)
* [**MultiSelectAttributeValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#multiselectattributevalue)
* [**NumericAttributeValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#numericattributevalue)
* [**PriceAttributeValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#priceattributevalue)
* [**ProductRelationAttributeValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#productrelationattributevalue)
* [**SelectAttributeValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#selectattributevalue)
* [**TextareaAttributeValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textareaattributevalue)
* [**TextAttributeValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textareaattributevalue)
* [**UnitAttributeValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#unitattributevalue)

### AttributeValueTranslation

Represents a translated attribute value for language.

Fields:

| language | [**Language!**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#language) | A language of a translation. |
| -------- | -------------------------------------------------------------------------------------- | ---------------------------- |

Implemented by:

* [**DateAttributeValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#dateattributevaluetranslation)
* [**FileAttributeValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#fileattributevaluetranslation)
* [**GalleryAttributeValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#galleryattributevaluetranslation)
* [**ImageAttributeValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#imageattributevaluetranslation)
* [**MultiSelectAttributeValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#multiselectattributevaluetranslation)
* [**NumericAttributeValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#numericattributevaluetranslation)
* [**PriceAttributeValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#priceattributevaluetranslation)
* [**ProductRelationAttributeValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#productrelationattributevaluetranslation)
* [**SelectAttributeValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#selectattributevaluetranslation)
* [**TextareaAttributeValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textareaattributevaluetranslation)
* [**TextAttributeValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textattributevaluetranslation)
* [**UnitAttributeValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#unitattributevaluetranslation)

### CustomField

A custom field represents a type of value that can be assigned to an attribute option.

Fields:

| code | [**CustomFieldCode!**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#customfieldcode) | Readable id of `CustomField`. |
| ---- | ---------------------------------------------------------------------------------------------------- | ----------------------------- |

Implemented by:

* [**ImageCustomField**](https://docs.ergonode.com/graphql/overview/schema/objects.md#imagecustomfield)
* [**TextareaCustomField**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textareacustomfield)
* [**TextareaRTECustomField**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textareartecustomfield)
* [**TextCustomField**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textcustomfield)

### CustomFieldTranslatedValue

Represents a value defining a specific `CustomField` in specific language only.

Fields:

| customField | [**CustomField!**](#customfield) | A `CustomField` describing the type of value. |
| ----------- | -------------------------------- | --------------------------------------------- |

Implemented by:

* [**ImageCustomFieldTranslatedValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#imagecustomfieldtranslatedvalue)
* [**TextareaCustomFieldTranslatedValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textareacustomfieldtranslatedvalue)
* [**TextareaRTECustomFieldTranslatedValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textareartecustomfieldtranslatedvalue)
* [**TextCustomFieldTranslatedValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textcustomfieldtranslatedvalue)

### CustomFieldValue

Represents a value defining a specific `CustomField`.

Fields:

| customField                                                                                                          | [**CustomField!**](#customfield)                                      | A `CustomField` describing the type of value. |
| -------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------- |
| translations (languages: [**\[Language!\]**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#language)) | [**\[CustomFieldValueTranslation!\]!**](#customfieldvaluetranslation) | A value translations.                         |

Implemented by:

* [**ImageCustomFieldValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#imagecustomfieldvalue)
* [**TextareaCustomFieldValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textareacustomfieldvalue)
* [**TextareaRTECustomFieldValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textareartecustomfieldvalue)
* [**TextCustomFieldValue**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textcustomfieldvalue)

### CustomFieldValueTranslation

Represents a translated custom field value for language.

Fields:

| language | [**Language!**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#language) | A language of a translation. |
| -------- | -------------------------------------------------------------------------------------- | ---------------------------- |

Implemented by:

* [**ImageCustomFieldValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#imagecustomfieldvaluetranslation)
* [**TextareaCustomFieldValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textareacustomfieldvaluetranslation)
* [**TextareaRTECustomFieldValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textareartecustomfieldvaluetranslation)
* [**TextCustomFieldValueTranslation**](https://docs.ergonode.com/graphql/overview/schema/objects.md#textcustomfieldvaluetranslation)

### OptionAttribute

An attribute with a predefined set of values(options).

Implements:

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

Fields:

| optionList (after: [**String**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#string), first: [**Int**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#int)) | [**OptionConnection!**](#optionconnection) | <p>A list of options of an <code>Attribute</code>.<br><code>first</code> argument cannot be lesser than 0 and higher than 200. The default value is 50.</p> |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| customFields                                                                                                                                                                              | [**\[CustomField!\]!**](#customfield)      | Configured attribute custom fields.                                                                                                                         |

Implemented by:

* [**MultiSelectAttribute**](https://docs.ergonode.com/graphql/overview/schema/objects.md#multiselectattribute)
* [**SelectAttribute**](https://docs.ergonode.com/graphql/overview/schema/objects.md#selectattribute)

### Product

Fields:

| sku                                                                                                                                                                                                                                                                                                       | [**Sku!**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#sku)                                                | sku                                                                                                                                              |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| categoryList (after: [**String**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#string), first: [**Int**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#int))                                                                                                               | [**CategoryConnection!**](https://docs.ergonode.com/graphql/overview/schema/objects.md#categoryconnection)                  | <p>A list of categories <code>Product</code> belongs to.<br><code>first</code> argument cannot be lesser than 0 and its default value is 50.</p> |
| template                                                                                                                                                                                                                                                                                                  | [**Template!**](https://docs.ergonode.com/graphql/overview/schema/objects.md#template)                                      | Template of `Product`.                                                                                                                           |
| attributeList (after: [**String**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#string), first: [**Int**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#int), codes: [**\[AttributeCode!\]**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#attributecode)) | [**AttributeValueConnection!**](https://docs.ergonode.com/graphql/overview/schema/objects.md#attributevalueconnection)      | <p>A list of <code>Attribute</code> values.<br><code>first</code> argument cannot be lesser than 0 and its default value is 50.</p>              |
| status                                                                                                                                                                                                                                                                                                    | [**\[ProductStatusTranslation!\]!**](https://docs.ergonode.com/graphql/overview/schema/objects.md#productstatustranslation) | Status of `Product`.                                                                                                                             |
| createdAt                                                                                                                                                                                                                                                                                                 | [**DateTime!**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#datetime)                                      | Creation date.                                                                                                                                   |
| editedAt                                                                                                                                                                                                                                                                                                  | [**DateTime**](https://docs.ergonode.com/graphql/overview/schema/scalars.md#datetime)                                       | Last edition date.                                                                                                                               |

Implemented by:

* [**GroupingProduct**](https://docs.ergonode.com/graphql/overview/schema/objects.md#groupingproduct)
* [**SimpleProduct**](https://docs.ergonode.com/graphql/overview/schema/objects.md#simpleproduct)
* [**VariableProduct**](https://docs.ergonode.com/graphql/overview/schema/objects.md#variableproduct)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ergonode.com/graphql/overview/schema/interfaces.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
