MageSmith
POSTEav · Magento 2.4.9 Admin · Magento_Catalog::sets

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

entityTypeCode string Required
attributeSet Magento\Eav\Api\Data\AttributeSetInterface Required
skeletonId int Required

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

Accept
application/json
Content-Type
application/json
Authorization
Bearer <ACCESS_TOKEN> admin token with ACL: Magento_Catalog::sets

Path

/V1/eav/attribute-sets

Body

{
  "attributeSet": {
    "attribute_set_id": 0,
    "attribute_set_name": "",
    "entity_type_id": 0,
    "extension_attributes": {},
    "sort_order": 0
  },
  "entityTypeCode": "",
  "skeletonId": 0
}

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.