> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/miscellaneous/llms.txt)
> Source: https://docs.saleor.io/api-reference/miscellaneous/unions/reference-type

# ReferenceType Union

The reference types (product or page type) that are used to narrow down the choices of reference objects. ProductType applicable for reference attribute with `PRODUCT` or `PRODUCT_VARIANT` entity type. PageType applicable for reference attribute with `PAGE` entity type.

```graphql
union ReferenceType = ProductType | PageType
```

<a id="possible-types"></a>

### Possible types

<a id="producttype"></a>

#### [`ProductType`](/api-reference/products/objects/product-type.md)

Represents a type of product. It defines what attributes are available to products of this type.

<a id="pagetype"></a>

#### [`PageType`](/api-reference/pages/objects/page-type.md)

Represents a type of page. It defines what attributes are available to pages of this type.

<a id="member-of"></a>

### Member Of

[`Attribute`](/api-reference/attributes/objects/attribute.md) object
