We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there,
I'm consistently getting the following error whenever I attempt to create or change a variant using this library:
Write requests to inventory_quantity and inventory_quantity_adjustment are no longer supported. Please use the Inventory Levels API.
For reference, here is a snippet of code where I'm attempting the change:
ok := YesNoPrompt("Update Shopify Price?", true) if ok { fmt.Println("Updating Shopify Price") currentVariant, err := client.Variant.Get(foundVariantID, nil) assertNoErr(err) // update price of local variant currentVariant.Price = &shopifyPrice // update remote variant newVar, err := client.Variant.Create(foundProductID, *currentVariant) assertNoErr(err) fmt.Printf("New variant price is: %v\n", newVar.Price.String()) // verify update }```
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there,
I'm consistently getting the following error whenever I attempt to create or change a variant using this library:
For reference, here is a snippet of code where I'm attempting the change:
The text was updated successfully, but these errors were encountered: