Log in
Interface

SpecialPriceStorageInterface

Magento\Catalog\Api\SpecialPriceStorageInterface

What it does

This interface defines the contract for managing special prices (sale prices) for products in Magento 2.

Developers use this to retrieve, add, update, or delete special prices for products by SKU, with support for store-specific pricing and date ranges.

It provides efficient bulk operations and returns detailed error information when validation fails for specific items.

Public Methods

  • get()
  • update()
  • delete()