POST /V1/eav/attribute-sets
POST /V1/eav/attribute-sets is a Magento 2 REST endpoint in the Eav module. Create attribute set from data. Requires an admin Bearer token with ACL Magento_Catalog::sets.
Last verified: against Magento 2.4.9.
Returns
Magento\Eav\Api\Data\AttributeSetInterface
Service contract
Magento\Eav\Api\AttributeSetManagementInterface::create
Authorization
Admin Bearer token with ACL:
- Magento_Catalog::sets
Body parameters
Example request
Auto-generated from the service contract — paste-ready against your store's /rest/default base. Replace the host, store code, ACL token, and any required values before running.
Headers
Path
/V1/eav/attribute-setsBody
{
"attributeSet": {
"attribute_set_id": 0,
"attribute_set_name": "",
"entity_type_id": 0,
"extension_attributes": {},
"sort_order": 0
},
"entityTypeCode": "",
"skeletonId": 0
}Related in Eav
Other endpoints shipped by the same module.
/V1/eav/attribute-sets/:attributeSetId
Remove attribute set by given ID
Eav · Magento\Eav\Api\AttributeSetRepositoryInterface::deleteById
/V1/eav/attribute-sets/:attributeSetId
Retrieve attribute set information based on given ID
Eav · Magento\Eav\Api\AttributeSetRepositoryInterface::get
/V1/eav/attribute-sets/:attributeSetId
Save attribute set data
Eav · Magento\Eav\Api\AttributeSetRepositoryInterface::save
/V1/eav/attribute-sets/list
Retrieve list of Attribute Sets
Eav · Magento\Eav\Api\AttributeSetRepositoryInterface::getList
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.