Discussing Shopify Functions development, deployment, and usage in Shopify apps.
I was trying to update the price of a cartline using the UpdateOperation.
To do that I've created the app and the extension and deployed the app. App when I check the output(STDOUT) I see the result as expected but meanwhile I'm getting an error:
Input:
Error
[ { "path": [ "operations", 0, "update", "price" ], "explanation": "Field is not defined on UpdateOperation" } ]
Can someone point out where the problem is? Thanks!
Solved! Go to the solution
This is an accepted solution.
Its working after I've added the the following to shopify.extension.toml file
api_version = "unstable"
This is an accepted solution.
Its working after I've added the the following to shopify.extension.toml file
api_version = "unstable"