0

I want to get the product collection store-wise via graphQl. I have set in header parameter "Store": "ar", I want to get the product name in the Arabic store, but it's not working.

I have referred this https://devdocs.magento.com/guides/v2.4/graphql/send-request.html#headers

1

2 Answers 2

0

I got stuck in this issue for a while but i found the solution finally. All you need adding the key:value below in Headers :

key => store value => ar

as in screenshot enter image description here

0

What GraphQL query are you running? To get products for a given store, I'd expect that you need to run the following query - presumably defining the store URL in the request

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.