Log in
Model

ParamOverriderCustomerWebsiteId

Magento\Customer\Model\Webapi\ParamOverriderCustomerWebsiteId

What it does

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

Developers use this when building REST APIs that need to automatically inject the customer's website ID without requiring it to be passed explicitly in the request, ensuring customers can only access data from their own website.

Public Methods

  • getOverriddenValue()