Log in
Interface

ProductAttributeMediaGalleryManagementInterface

Magento\Catalog\Api\ProductAttributeMediaGalleryManagementInterface

What it does

This interface defines the contract for managing product media gallery images in Magento 2.

Developers use this service to programmatically add, update, remove, and retrieve product images and their metadata via API calls.

It's commonly used in integrations, custom modules, or headless commerce implementations where product images need to be managed through code rather than the admin panel.

Public Methods

  • create()
  • update()
  • remove()
  • get()
  • getList()