Log in
Model

ProductOutputProcessor

Magento\Catalog\Model\Product\Webapi\ProductOutputProcessor

What it does

This class processes product output for Web API responses by removing empty arrays for tier_prices and product_links that weren't included in the original request.

Developers use this to ensure API responses only contain data that was explicitly requested, preventing unnecessary empty arrays in JSON/XML output when updating products via REST/SOAP APIs.

Public Methods

  • execute()