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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Shopify Custom Connect...
Power Automate
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!

Categories:
I have the same question (0)
  • Zap174 Profile Picture
    167 on at

    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

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard