Inconsistent Data in Metafields Between Admin View and API Query

Gioa
Shopify Partner
2 0 0

Hello People 👨‍🔧

How is it possible that the product data differs between the admin view and an API query?

The only explanation would be that I'm not in the same product, but I can't identify that.

Does anyone have an idea where I could continue searching? Thank you in advance for your help.
Greets
Gioa 
 
kDwwHCmgqGeLjWYwRXqW.jpg
Replies 2 (2)

Liam
Shopify Staff
2731 302 777

Hi Gioa 

 

Have you made changes to these values recently? If so, there could be some caching issues at play here.

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Gioa
Shopify Partner
2 0 0

Thank you, Liam, for the prompt response.

So, if you're referring to the browser cache, I don't think that's the issue. I also encountered the same problem in incognito mode. Are there any other "places" within Shopify where a cache could be cleared?