Log in
Model

ParamOverriderCustomerGroupId

Magento\Customer\Model\Webapi\ParamOverriderCustomerGroupId

What it does

This class automatically replaces the placeholder '%customer_group_id%' with the actual customer group ID in Web API requests when the authenticated user is a customer.

Developers use this to allow API endpoints to dynamically access the current customer's group ID without requiring it to be explicitly passed in the request, improving security and convenience in REST API implementations.

Public Methods

  • getOverriddenValue()