Closed resistorsoftware closed 1 year ago
I think there is evil going on. One, I created a Shopify Metafield in the Admin for this namespace, key and type. So you can see it in the admin. But when I access the values stored here with API code, the same namespace, key and ownerID reports a different metafield. ie) when I read the product, and use GQL to get the metafield the ID is 1234, but when the update returns on the same namespace and key and ownerID, the metafield ID is 4567.
That seems messed up by Shopify...
Meh... not a problem. Just me.
I use the metafieldSet mutation and am stumped by the results.
I have a namespace, key, and ownerID all allowing me to get a JSON-type field. So I get {"foo": "bar} without trouble when reading said metafield. If I use this library to do an update, I get back the metafield value I updated, zero errors, but also, nothing actually updated? So my metafield in not the newer {"fizz":"buzz"} but it remains {"foo": "bar"}. I am sure of my payload being correct, and new values... so this MUTATION should just work, and it does run without any trouble.
But with no errors reported, and nothing being saved, what is the most common thing you'd look for to debug this?