Log in
Model

ParamOverriderCartId

Magento\Quote\Model\Webapi\ParamOverriderCartId

What it does

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

Developers use this to simplify API endpoint definitions by allowing them to use a standardized placeholder instead of requiring clients to know and pass the cart ID explicitly for customer-specific cart operations.

Public Methods

  • getOverriddenValue()