What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: Shopify Product Options Updation via API

How to update product options and quantities via API?

Usama788
Shopify Partner
10 0 1

Hello, I hope you are doing well.

I am currently working on a script to update Shopify product options and variants from Netsuite. I have explored the PUT API, but it only seems to update variant prices and does not handle quantity updates. Additionally, it does not support adding more options to a product. Could you please provide guidance on how to update variant prices and quantities, as well as modify or add options using the API? Any assistance you can offer would be greatly appreciated.

Best regards.

Replies 2 (2)

PaulNewton
Shopify Partner
7450 657 1565

 


@Usama788 wrote:

Could you please provide guidance on how to update variant prices and quantities, as well as modify or add options using the API?


quantities, meaning Inventory?

https://shopify.dev/docs/api/admin-rest/2023-10/resources/inventorylevel 

https://shopify.dev/docs/apps/fulfillment/inventory-management-apps 

 

Note: products can only have 3 options ,currently.

https://shopify.dev/docs/api/admin-rest/2023-10/resources/product#post-products 

https://shopify.dev/docs/api/admin-rest/2023-10/resources/product#post-products:~:text=Create%20a%20... 

 

 

Also see the graphql api

https://shopify.dev/docs/api/admin-graphql/2023-01/mutations/productUpdate 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


abhishek_jain
Shopify Partner
73 0 10

It sounds like you're facing some challenges with updating Shopify product options and variants from NetSuite using the Shopify API. While the PUT API may have limitations in handling quantity updates and adding more options to a product, there's a solution that can streamline this process for you.

 

I recommend trying out the Robust NetSuite Integrator. This tool is specifically designed to address the complexities of integrating NetSuite with Shopify, offering seamless synchronization of product data including variant prices, quantities, and options.

If helpful then please Like and Accept Solution
To learn more visit: WebBee Global
Feel free to contact us at info@webbeeglobal.com
Integrations: NetSuite,Amazon MCF