Log in
Model

ParamOverriderCartId

Magento\Quote\Model\Webapi\ParamOverriderCartId

What it does

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

Developers use this when building customer-specific cart APIs where the cart ID should be automatically determined from the logged-in customer rather than being passed explicitly in the request.

Public Methods

  • getOverriddenValue()