In which table the attribute set ids are stored in magento 2.

I wish to save the product with its attribute set id . So Please provide me a solution

2 Answers 2


Attribute set ids are store in eav_attribute_set table.

Table fields are like below

attribute_set_id : attribute set id store.

entity_type_id : entity type like customer catalog etc

attribute_set_name : store attribute set name

sort_order : store attribute set sort order


Attribute Set details are present in table: eav_attribute_set.

Product and Attribute Set Id relation is stored in table catalog_product_entity.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.