Conversations about creating, managing, and using metafields to store and retrieve custom data for apps and themes.
Looking for some help here :),
So i added a new entry (Black) to my Metaobject with Graphql: but the problem when i did this with API it was added in my dashboard as the name only but for the hexcode field no color thumbnail like when i added it manually from dashboard. attached images, Any help is appreciated. thanks.
{ "metaobject": { "type": "Color", "fields": [ { "key": "name", "value": "black" }, { "key": "hexcode", "value": "#333333" } ], "capabilities": { "publishable": { "status": "ACTIVE" } } } }
Query the other entries made with the admin manually to compare them to the entry made with the api.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
I suspected that it has to do with thumbnailField, After i queried all of them suggested , definitely thumbnailField returned is empty for the "black" entry. The thing in the documentation it doesn't accept that field, probably need to do another query to do connections similar to attaching media to product. So if anyone know how to do that let me know -- continuing research -- update later