SpecialPriceInterface
Magento\Catalog\Api\SpecialPriceInterface
What it does
This interface defines the API contract for managing special prices on products in Magento 2.
Developers use this to programmatically retrieve, update, or delete special prices for products by SKU, including setting price values and date ranges when the special prices are active.
It's commonly used in integrations, import scripts, or custom modules that need to manage promotional pricing.
Public Methods
- get()
- update()
- delete()