SuggestedMetaobjects API not working

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

1 Like

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!

https://docs.google.com/document/d/1PlPYq41TG7hn5qvSCrrz1iS_dhB3U_PkIsStY2wp9g8/edit?tab=t.0#heading=h.d4g89u3upp8x

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?

1 Like

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?