Your IP : 216.73.216.97


Current Path : /var/www/clients/client3/web2/web/vendor/magento/module-configurable-product/etc/
Upload File :
Current File : /var/www/clients/client3/web2/web/vendor/magento/module-configurable-product/etc/webapi.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">
    <route url="/V1/configurable-products/:sku/children" method="GET">
        <service class="Magento\ConfigurableProduct\Api\LinkManagementInterface" method="getChildren"/>
        <resources>
            <resource ref="Magento_Catalog::products"/>
        </resources>
    </route>
    <route url="/V1/configurable-products/:sku/children/:childSku" method="DELETE">
        <service class="Magento\ConfigurableProduct\Api\LinkManagementInterface" method="removeChild"/>
        <resources>
            <resource ref="Magento_Catalog::products"/>
        </resources>
    </route>
    <route url="/V1/configurable-products/variation" method="PUT">
        <service class="Magento\ConfigurableProduct\Api\ConfigurableProductManagementInterface" method="generateVariation"/>
        <resources>
            <resource ref="Magento_Catalog::products" />
        </resources>
    </route>
    <route url="/V1/configurable-products/:sku/child" method="POST">
        <service class="Magento\ConfigurableProduct\Api\LinkManagementInterface" method="addChild"/>
        <resources>
            <resource ref="Magento_Catalog::products" />
        </resources>
    </route>
    <route url="/V1/configurable-products/:sku/options/:id" method="GET">
        <service class="Magento\ConfigurableProduct\Api\OptionRepositoryInterface" method="get"/>
        <resources>
            <resource ref="Magento_Catalog::products"/>
        </resources>
    </route>
    <route url="/V1/configurable-products/:sku/options/all" method="GET">
        <service class="Magento\ConfigurableProduct\Api\OptionRepositoryInterface" method="getList"/>
        <resources>
            <resource ref="Magento_Catalog::products"/>
        </resources>
    </route>
    <route url="/V1/configurable-products/:sku/options" method="POST">
        <service class="Magento\ConfigurableProduct\Api\OptionRepositoryInterface" method="save" />
        <resources>
            <resource ref="Magento_Catalog::products" />
        </resources>
    </route>
    <route url="/V1/configurable-products/:sku/options/:id" method="PUT">
        <service class="Magento\ConfigurableProduct\Api\OptionRepositoryInterface" method="save" />
        <resources>
            <resource ref="Magento_Catalog::products" />
        </resources>
    </route>
    <route url="/V1/configurable-products/:sku/options/:id" method="DELETE">
        <service class="Magento\ConfigurableProduct\Api\OptionRepositoryInterface" method="deleteById" />
        <resources>
            <resource ref="Magento_Catalog::products" />
        </resources>
    </route>
</routes>