Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- <?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">
- <route url="/V1/taxRates" method="POST">
- <service class="Magento\Tax\Api\TaxRateRepositoryInterface" method="save"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRates/:rateId" method="GET">
- <service class="Magento\Tax\Api\TaxRateRepositoryInterface" method="get"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRates" method="PUT">
- <service class="Magento\Tax\Api\TaxRateRepositoryInterface" method="save"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRates/:rateId" method="DELETE">
- <service class="Magento\Tax\Api\TaxRateRepositoryInterface" method="deleteById"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRates/search" method="GET">
- <service class="Magento\Tax\Api\TaxRateRepositoryInterface" method="getList"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRules" method="POST">
- <service class="Magento\Tax\Api\TaxRuleRepositoryInterface" method="save"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRules" method="PUT">
- <service class="Magento\Tax\Api\TaxRuleRepositoryInterface" method="save"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRules/:ruleId" method="DELETE">
- <service class="Magento\Tax\Api\TaxRuleRepositoryInterface" method="deleteById"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRules/:ruleId" method="GET">
- <service class="Magento\Tax\Api\TaxRuleRepositoryInterface" method="get"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRules/search" method="GET">
- <service class="Magento\Tax\Api\TaxRuleRepositoryInterface" method="getList"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxClasses" method="POST">
- <service class="Magento\Tax\Api\TaxClassRepositoryInterface" method="save"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxClasses/:taxClassId" method="GET">
- <service class="Magento\Tax\Api\TaxClassRepositoryInterface" method="get"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxClasses/:classId" method="PUT">
- <service class="Magento\Tax\Api\TaxClassRepositoryInterface" method="save"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxClasses/:taxClassId" method="DELETE">
- <service class="Magento\Tax\Api\TaxClassRepositoryInterface" method="deleteById"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxClasses/search" method="GET">
- <service class="Magento\Tax\Api\TaxClassRepositoryInterface" method="getList"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- </routes>
|