Development discussions around Shopify APIs
Now that the Shopify admin allows store owners to "define" metafields (in Settings), how can the list of such metafield definitions be retrieved via the API? Not the values of specific metafields created in the store, but the definitions.
Solved! Go to the solution
This is an accepted solution.
Hi @natashadisante, interacting with metafield definitions is only supported in GraphQL. In order to retrieve a list of a store's definitions you can do so using the query specified here which expects an argument of ownerType. If you have a specific metafield definition you would like to query by ID please have a look at the reference available here. I hope that helps!
This is an accepted solution.
Hi @natashadisante, interacting with metafield definitions is only supported in GraphQL. In order to retrieve a list of a store's definitions you can do so using the query specified here which expects an argument of ownerType. If you have a specific metafield definition you would like to query by ID please have a look at the reference available here. I hope that helps!
Worked. Thanks a lot!
User | RANK |
---|---|
10 | |
4 | |
3 | |
3 | |
3 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023