So you can create metafields to stuff right in a product at create time. And it works. But on using 2020-07 to build some products I am running into a problem.
If I set the valueType of a metafield to INTEGER, I feel like I should be able to set the value to some integer like 4663 or 11017 but instead, I get a GQL error saying cannot coerce 4663 to string.
So to shut that down I just added a to_s to my integer and it all worked, so I get an integer metafield value of 4663 but that seems buggy and wrong to me. Can someone at Shopify please confirm you have your wiring correct on schema for valueType. Seems off to me.