Log in
Model

ParamOverriderCustomerWebsiteId

Magento\Customer\Model\Webapi\ParamOverriderCustomerWebsiteId

What it does

This class automatically replaces the placeholder '%customer_website_id%' in Web API requests with the actual website ID of the authenticated customer.

Developers use this to ensure customers can only access data from their assigned website in multi-website Magento installations, providing automatic security filtering in REST/SOAP APIs without manual parameter handling.

Public Methods

  • getOverriddenValue()