Alokai

CustomAttributeMetadataInterface

An interface containing fields that define the EAV attribute.

type CustomAttributeMetadataInterface = {
  code: Scalars['ID']['output']; /** Default attribute value. */
  default_value?: Maybe<Scalars['String']['output']>; /** The type of entity that defines the attribute. */
  entity_type: AttributeEntityTypeEnum; /** The frontend class of the attribute. */
  frontend_class?: Maybe<Scalars['String']['output']>; /** The frontend input type of the attribute. */
  frontend_input?: Maybe<AttributeFrontendInputEnum>; /** Whether the attribute value is required. */
  is_required: Scalars['Boolean']['output']; /** Whether the attribute value must be unique. */
  is_unique: Scalars['Boolean']['output']; /** The label assigned to the attribute. */
  label?: Maybe<Scalars['String']['output']>; /** Attribute options. */
  options: Array<Maybe<CustomAttributeOptionInterface>>;
};

Referenced Types

On this page