Hey all,
Running into a little stumbling block updating product variants via CURL. I have an n8n workflow that fires when a product is updated on our Zoho Inventory account. I run that through a few nodes to get out the required information to push to Shopify’s API and my final output looks like this.
{
"variant": {
"id": "42849029259505",
"price": "31.99"
}
}
I’m doing a PUT request to https://myshopifywebsite.com/admin/api/2023-10/variants/42849029259505.json with this as the body, and I’m getting a 406: ERROR: Your request is invalid or could not be processed by the service.
My JSON is valid as confirmed by a validator, so I’m not sure what I’m doing wrong exactly.