How to update product options and quantities via API?

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.

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%20new%20product%20with%20multiple%20product%20variants%20and%20multiple%20options

Also see the graphql api

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

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.