Skip to main content

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.

union ReferenceType = ProductType | PageType

Possible types​

ReferenceType.ProductType object products​

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

ReferenceType.PageType object pages​

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

Member Of​

Attribute object