Zend certified PHP/Magento developer

Magento 2.3 & pwa studio: How can I access another store to update data or get data other than that of the default store?

The store is composed of different websites with multiple stores and multiple storeviews.

I’m developing a functionality to get the particular storeview depending on the location of the customer and get its product catalog with prices.

But when I go to get the information from the current store I am always in the default store using GraphQL query,

  • How could I get the information from any other store or set values in a different store?

  • Is there a GraphQl query or can I make a request to the Rest API to change store to get the products from a store using the store id or store code?