Files
stemcell/app/code/Stemcell/Checkout/etc/webapi.xml
T
2026-09-15 10:26:34 +08:00

23 lines
667 B
XML

<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
<!-- Managing My Cart Total -->
<route url="/V1/carts/mine/totals" method="GET">
<service class="Stemcell\Checkout\Api\CartTotalRepositoryInterface" method="get"/>
<resources>
<resource ref="self" />
</resources>
<data>
<parameter name="cartId" force="true">%cart_id%</parameter>
</data>
</route>
</routes>