All things Shopify and commerce
Hello everyone,
We're trying to change the price of a variation via the Shopify API. We are proceeding with a PUT call to the https://nom-du-site.fr/admin/api/2023-04/variants/variant_id.json entity, accompanied by the JSON content provided at the end of this message.
During a test via POSTMAN, although we receive a 200 response code with the variant in the response content, the price is not modified. However, it seems that the modification rights are correctly assigned to our application.
Does anyone know why the call does not produce the expected effect?
{
"variant":
{
"id": variant_id,
"product_id": product_id,
"title": "Title",
"price": "190.91",
"sku": "SKUVariant"
}
}
Thanks,
Jérôme.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025