web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Answered

Shopify Custom Connector Update Products

(0) ShareShare
ReportReport
Posted on by 167

I am using Power Automate to automatically update products, including variants via a SQL DB. However, when I perform the action of passing all the products that need to be updated with their location id, inventory item id and available quantity using a PUT request to the url ending with

/admin/api/2022-01/inventory_levels/set.json and according to these instructions: Manage product inventory with the Admin API (shopify.dev).

every variant that is associated with a product, gets deleted. For example, before updating quantities, Variant A will have a quantity of 8, Variant B will have a quantity of 18, and Variant C will have a quantity of 4. After running the workflow to set each quantity to 5, Variant A will have a quantity of 5 but Variant B and C will not exist. I have seen threads of this happening to people before but am looking for a more updated solution as those threads are quite old. Any help is appreciated!

I have the same question (0)
  • Zap174 Profile Picture
    167 on at
    Re: Shopify Custom Connector Update Products

    Additionally, I am trying to work around this by using a singular HTTP action to post updates to the inventory levels in Shopify but I receive this error, even if including the apikey and password in the URL: 

    Zap174_0-1648057320206.png

     

  • Verified answer
    Zap174 Profile Picture
    167 on at
    Re: Shopify Custom Connector Update Products

    Found the answer, opened "Advanced Settings" and entered the API key and password in the parameters of "Basic Authentication"

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 532 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 461 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 256

Last 30 days Overall leaderboard

Featured topics