Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

209
Vistas
What is the best practice method to fetch GraphQL data within a Magento Module?

I wish to pull in filtered product data via JavaScript from within a Magento module? Using graphql to only retrieve the data I want.

I can do this using the various graphql endpoints, however, I'm currently doing this by converting the HTTP calls to jQuery in Postman (for the moment). This feels messy.

It's a much simpler task when calling from a React or other SPA as I'd just use axios, Apollo etc.

From what I have read, the Magento dev docs do not include any specific approach to calling graphql endpoints within classic Magento 2 modules.

What would the most efficient way to approach this?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda