<?xml version="1.0" ?>
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
 	<route url="/V1/productdesigner/getpageconfiguration" method="POST">
        <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="getPageConfiguration"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
    <route url="/V1/productdesigner/getclipartcategories" method="POST">
        <service class="Printxpand\Core\Api\ClipartRepositoryInterface" method="getClipartCategories"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
     <route url="/V1/productdesigner/getclipartimages" method="POST">
        <service class="Printxpand\Core\Api\ClipartRepositoryInterface" method="getClipartImages"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
    <route url="/V1/productdesigner/getcolors" method="POST">
        <service class="Printxpand\Core\Api\PrintablecolorRepositoryInterface" method="getColor"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
    <route url="/V1/productdesigner/getfonts" method="POST">
        <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="getFonts"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
    <route url="/V1/productdesigner/searchfont" method="POST">
        <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="searchFont"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
     <route url="/V1/productdesigner/upload" method="POST">
        <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="imageUpload"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
    <route url="/V1/productdesigner/delete" method="POST">
        <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="imageDelete"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
    <route url="/V1/productdesigner/getcustomerimages" method="POST">
           <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="getCustomerImages"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
        <route url="/V1/productdesigner/removebackground" method="POST">
           <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="removeBackground"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
    <route url="/V1/productdesigner/savecroppedimage" method="POST">
        <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="saveCroppedImage"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>

	<route url="/V1/productdesigner/checkforlogin" method="POST">
        <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="checkForLogin"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
    <route url="/V1/productdesigner/login" method="POST">
           <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="login"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
    <route url="/V1/productdesigner/logout" method="GET">
           <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="logout"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
    <route url="/V1/productdesigner/register" method="POST">
           <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="register"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>

    <route url="/V1/productdesigner/getdesigns" method="POST">
           <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="getDesigns"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
     
    <route url="/V1/productdesigner/deletedesign" method="POST">
           <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="deleteDesign"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>

    <route url="/V1/productdesigner/gettab" method="POST">
        <service class="Printxpand\Core\Api\TabRepositoryInterface" method="getTab"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>

    <route url="/V1/productdesigner/loadprice" method="POST">
        <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="loadprice"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
    
    <!--Project id APIs -->
    <route url="/V1/productdesigner/createemptycart" method="POST">
           <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="createEmptyCart"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
    
    <route url="/V1/productdesigner/mergecart" method="POST">
           <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="mergeCart"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
    
    <route url="/V1/productdesigner/addproducttocart" method="POST">
           <service class="Printxpand\Core\Api\CommonBusinessApiInterface" method="addProductToCart"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>

    <route url="V1/productdesigner/saveprojectid" method="POST">
           <service class="Brushyourideas\Productdesigner\Api\ProjectidApiInterface" method="saveProjectid"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>

    <route url="V1/productdesigner/getprojectid" method="POST">
           <service class="Brushyourideas\Productdesigner\Api\ProjectidApiInterface" method="getProjectid"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>

    <route url="V1/productdesigner/generateimageqrcode" method="POST">
           <service class="Brushyourideas\Productdesigner\Api\ProjectidApiInterface" method="generateImageQrcode"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>

    <route url="V1/productdesigner/getprojectidcustomerimages" method="POST">
           <service class="Brushyourideas\Productdesigner\Api\ProjectidApiInterface" method="getProjectIdCustomerImages"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>

    <route url="V1/productdesigner/getdesignsprojectid" method="POST">
           <service class="Brushyourideas\Productdesigner\Api\ProjectidApiInterface" method="getDesigns"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
    
    <!-- Get Order API -->
    <route url="/V1/productdesigner/getorder" method="GET">
        <service class="Printxpand\Core\Api\GetOrderInterface" method="getList"/>
        <resources>
            <resource ref="anonymous"/>
        </resources>
    </route>
</routes>