PUT /V1/eav/attribute-sets/:attributeSetId
PUT /V1/eav/attribute-sets/:attributeSetId is a Magento 2 REST endpoint in the Eav module. Save attribute set data. Requires an admin Bearer token with ACL Magento_Catalog::sets.
Last verified: against Magento 2.4.9.
Returns
Magento\Eav\Api\Data\AttributeSetInterface
saved attribute set
Service contract
Magento\Eav\Api\AttributeSetRepositoryInterface::save
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-sets/:attributeSetIdBody
{
"attributeSet": {
"attribute_set_id": 0,
"attribute_set_name": "",
"entity_type_id": 0,
"extension_attributes": {},
"sort_order": 0
}
}Related in Eav
Other endpoints shipped by the same module.
/V1/eav/attribute-sets
Create attribute set from data
Eav · Magento\Eav\Api\AttributeSetManagementInterface::create
/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/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.