Web Analytics

Fill the form & Get Installation Support





    We can create custom api for GraphQL.

    As per the app/code/ standard, our module name is Magemonkeys/Customgraphql

    We can create schema.graphqls file in module etc folder.

    Below is the code for that file.

    After that we need to create Model Resolver file.

    Create file ResolverGraphql.php in this location of module
    Magemonkeys/Customgraphql/Model/Resolver/

    Below is the code for that file.

    After that you can check API in Postman API tool.

    That’s it.

     

    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Author Image

      Magento 2 Developer

      Hire P. Garchar

      Get a Free Quote





        Let our Magento expert connect to discuss your requirement.


          We offer Magento
          certified developers.

          Our Magento clientele
          is 500+.

          We sign NDA for the
          security of your projects.

          We’ve performed 100+
          Magento migration projects.

          Free quotation
          on your project.

          Three months warranty on
          code developed by us.