A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi!
So I'm trying to add/update the metafields that a product variant has.
My attempt at doing it through a PUT request:
Solved! Go to the solution
This is an accepted solution.
Hi Jason,
I was able to fix the issue with some good old pair programming with a colleague!
Thanks either way for jumping in on the issue.
I am using the nodeJs boilerplate app that one can generate by using the shopify CLI.
For future reference if people may be experiencing the same issue:
- Check what API version the boilerplate app is running on, mine was per default running on a super old version that isn't even referenced in the API docs anymore. You can find this setting in your 'server.js' file when using the NodeJs boilerplate:
What tech stack are you using to make the API calls?
This is an accepted solution.
Hi Jason,
I was able to fix the issue with some good old pair programming with a colleague!
Thanks either way for jumping in on the issue.
I am using the nodeJs boilerplate app that one can generate by using the shopify CLI.
For future reference if people may be experiencing the same issue:
- Check what API version the boilerplate app is running on, mine was per default running on a super old version that isn't even referenced in the API docs anymore. You can find this setting in your 'server.js' file when using the NodeJs boilerplate: