Log in
Interface

CostStorageInterface

Magento\Catalog\Api\CostStorageInterface

What it does

This interface defines a service contract for managing product cost data in Magento 2.

Developers use this to retrieve, update, or delete product costs by SKU across different store views.

It's particularly useful when you need to programmatically manage product cost information in bulk operations or integrations with external systems like ERP or inventory management tools.

Public Methods

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