Log in
Interface

ProductAttributeOptionManagementInterface

Magento\Catalog\Api\ProductAttributeOptionManagementInterface

What it does

This interface defines the contract for managing product attribute options in Magento 2.

Developers use this to programmatically retrieve, add, or delete dropdown/select options for product attributes like color, size, or custom attributes.

It's commonly used in data import scripts, custom modules, or when creating dynamic attribute options through API.

Public Methods

  • getItems()
  • add()
  • delete()