conneqt / m2-auto-create-attributes
Conneqt Module for Magento 2 which automatically creates and fills in attributes and attribute sets via api
Installs: 6 394
Dependents: 0
Suggesters: 0
Security: 0
Type:magento2-module
pkg:composer/conneqt/m2-auto-create-attributes
Requires
- php: >=8.3
- magento/framework: >=101.0.0
This package is auto-updated.
Last update: 2025-10-25 16:47:25 UTC
README
How to install
composer require conneqt/m2-auto-create-attributes
How to use
When creating a product update call via the API, add the attributes via extension_attributes -> custom_conneqt_attributes like below
{
    "product": {
        "sku": "312.ABC",
        "extension_attributes": {
            "custom_conneqt_attributes":  [
                {
                    "attribute_type": "select",
                    "attribute_code": "string",
                    "value": "string"
                }
            ]
        }
    }
}
It's also possible to use this module to manage attribute groups, if you want to use this you can use it as following example:
{
    "product": {
        "sku": "312.ABC",
        "extension_attributes": {
            "custom_conneqt_attribute_set": {
                "attribute_set_name": "ABC123",
                "auto_create": false,
                "attributes": [
                    {
                        "attribute_code": "string",
                        "attribute_group_name": "general"
                    },
                    {
                        "attribute_code": "string2"
                    }
                ]
            }
        }
    }
}