Magidoc

Attribute
Object

Custom attribute of a product. Attributes can be assigned to products and variants at the product type level.

Fields

#

allProductTypes

Non-null

List of all product types that are using this attribute

availableInGrid

Non-null

Whether the attribute can be displayed in the admin product list.

createdBy

ID of the Seller that created the Product Type, or null if Marketplace Operator

externalId

externalSource

filterableInDashboard

Non-null

Whether the attribute can be filtered in dashboard.

filterableInStorefront

Non-null

Whether the attribute can be filtered in storefront.

id

ID !
Non-null

The ID of the object

inputType

Non-null

The input type to use for entering attribute values in the dashboard.

metadata

Non-null

List of public metadata items. Can be accessed without permissions.

name

Non-null

Name of an attribute displayed in the interface.

privateMetadata

Non-null

List of private metadata items.Requires proper staff permissions to access.

productTypes

Non-null

productVariantTypes

Non-null

slug

Non-null

Internal representation of an attribute name.

storefrontSearchPosition

Non-null

The position of the attribute in the storefront navigation (0 by default).

valueRequired

Non-null

Whether the attribute requires values to be passed or not.

values

Non-null

List of attribute's values.

visibleInStorefront

Non-null

Whether the attribute should be visible or not in storefront.

Interfaces

#

Also implements Node , ObjectWithMetadata .

Usages

#

References

#