Backend API
Fields
Unique identifier for the attribute. Defaults to attribute name underscored.
A human-friendly name for the attribute.
Date and time the attribute was created.
Date and time the attribute was last updated.
Collection to look up when the attribute type is lookup. Required when type is lookup.
Default value used when entering a value for the attribute.
Indicates if the category is available in the storefront category page filters.
Indicates if this attribute supports localized content.
Indicates the variant attribute values are edited manually.
When attribute type=image is indicated, the attribute contains multiple images.
Pattern for resolving the display label from a target collection record (e.g. {name}). Defaults to the target model's name field.
Expandable list of products using the attribute.
Indicates the attribute requires a value when assigned to a product.
Indicates if this attribute is searchable on the backend.
Input type used when entering a value for the attribute.
Possible enum values:
List of the attribute's associated select options used with attribute type of checkbox, radio, or select.
Indicates if this attribute is a variant.
Indicates the attribute is visible to customers.
Response
{
"id": "material",
"name": "Color",
"date_created": "2021-07-16T14:35:59.968Z",
"date_updated": "2021-07-16T14:35:59.968Z",
"default": null,
"required": false,
"type": "text",
"values": [
"Red",
"White",
"Blue",
"Green",
"Yellow",
"Black"
],
"visible": true
}