i m unable to get data from shopify admin apis
SuggestedMetaobjects i m using unstable version i m try to use on my platform
but the value of every key which i need i m stuck here can anybody help me out here
i m unable to get data from shopify admin apis
SuggestedMetaobjects i m using unstable version i m try to use on my platform
but the value of every key which i need i m stuck here can anybody help me out here
Hey @Karl_Colimon, Welcome to the community!
To help provide you with the right solution, could you share more details? Per our community guidelines, including your specific GraphQL query, any error messages you’re seeing, and what data you’re expecting to retrieve will help us get you pointed in the right direction quickly.
Hey @Karl_Colimon Are you still experiencing this issue, or can I mark this as solved?
Sorry for the delay, I’m confirming with my development team. I will confirm asap.
thank you!
We’ve documented the issue in the attached Google doc.
Hi @KyleG-Shopify I’m following up to see if you had an opportunity to review my developers notes?
Hey @Karl_Colimon, sorry for the delay. I was off on Holidays the last week.
Looking at your Google Doc, I believe I see what’s happening. The suggestedMetaobjects
API doesn’t exist in the admin API, which explains why you’re getting “Api not found” errors.
What you’re seeing in the admin UI as “suggested metafields” are actually standard metafield definition templates that need to be activated before their corresponding metaobjects become available for querying. Your metaobjects
query is returning empty results because the standard metafield definitions haven’t been enabled yet.
One approach you could take is to use standardMetafieldDefinitionTemplates
with excludeActivated: true
to get available templates, then use standardMetafieldDefinitionEnable
to activate the ones you need (like color-pattern
or size
), and once activated you can query the metaobjects
to get your dropdown values like “Red”, “Blue”, “Green”. The standard metafield definitions documentation covers this activation process, though it doesn’t clearly connect the admin UI suggestions to the API workflow.
Hey @Karl_Colimon, did the above help at all?