Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hi, i am trying to update product price via shopify api but it does not change the price.
Api endpoint - PUT /admin/api/2019-10/products/#{product_id}.json
{ "product": { "id": 632910392, "variants": [ { "id": 808950810, "price": "2000.00", "sku": "Updating the Product SKU" }, ] } }
Can anyone help me out please.
Solved! Go to the solution
This is an accepted solution.
Hey @paramjeet,
You'll need to update the product variant instead: https://help.shopify.com/en/api/reference/products/product-variant
Scott | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Hey @paramjeet,
You'll need to update the product variant instead: https://help.shopify.com/en/api/reference/products/product-variant
Scott | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
API2Cart is a great solution that can help you develop Shopify API integration and avoid all the issues related to the Shopify API.
hi I also wanted to update the price of the product but its wont working can you please help me out with this
I am using the put api with the variant id and price
User | RANK |
---|---|
6 | |
5 | |
4 | |
3 | |
3 |