Log in
Model

ParamOverriderCustomerGroupId

Magento\Customer\Model\Webapi\ParamOverriderCustomerGroupId

What it does

This class automatically replaces placeholder values like '%customer_group_id%' in Web API requests with the actual customer group ID of the currently authenticated customer.

Developers use this when building REST API endpoints that need to dynamically inject the logged-in customer's group ID into the request parameters, ensuring customers can only access data relevant to their own group.

Public Methods

  • getOverriddenValue()