Skip to content

Attribute data format

Piotr Karwatka edited this page Dec 18, 2017 · 1 revision

The data format here is a result of:

{
    "_index": "storefront_catalog",
    "_type": "attribute",
    "_id": "79",
    "_score": 1,
    "_source": {
        "is_wysiwyg_enabled": false,
        "is_html_allowed_on_front": false,
        "used_for_sort_by": false,
        "is_filterable": false,
        "is_filterable_in_search": false,
        "is_used_in_grid": true,
        "is_visible_in_grid": false,
        "is_filterable_in_grid": false,
        "position": 0,
        "apply_to": [
            "simple",
            "virtual",
            "bundle",
            "downloadable",
            "configurable"
        ],
        "is_searchable": "0",
        "is_visible_in_advanced_search": "0",
        "is_comparable": "0",
        "is_used_for_promo_rules": "0",
        "is_visible_on_front": "0",
        "used_in_product_listing": "1",
        "is_visible": true,
        "scope": "website",
        "attribute_id": 79,
        "attribute_code": "special_from_date",
        "frontend_input": "date",
        "entity_type_id": "4",
        "is_required": false,
        "options": [],
        "is_user_defined": false,
        "default_frontend_label": "Special Price From Date",
        "frontend_labels": null,
        "backend_type": "datetime",
        "backend_model": "Magento\\Catalog\\Model\\Attribute\\Backend\\Startdate",
        "is_unique": "0",
        "validation_rules": [],
        "id": 79,
        "tsk": 1510353353440
    }
}
Clone this wiki locally