Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

211
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda