Model
GalleryManagement
Magento\Catalog\Model\Product\Gallery\GalleryManagement
What it does
The GalleryManagement class manages product media gallery entries through API operations.
Developers use this class to programmatically create, update, remove, and retrieve product images via Magento's REST/SOAP APIs.
It handles image validation, content encoding, and ensures media gallery operations are properly synchronized with product data.
Public Methods
- create()
- update()
- remove()
- get()
- getList()