Shopify · Arazzo Workflow
Shopify Restock a Product Variant
Version 1.0.0
Read a variant to find its inventory item, resolve a location, and set the available quantity.
Provider
Workflows
restock-product-variant
Set a variant's available stock at the primary location by resolving its inventory item.
Resolves a variant's inventory item from the product, resolves the primary location, and sets the variant's available quantity there.
1
resolveVariant
listProductVariants
List the product's variants and select the matching variant so its inventory item id can be used for the stock update.
2
resolveLocation
listLocations
List the store's locations and use the first location as the target.
3
setLevel
setInventoryLevel
Set the available quantity for the variant's inventory item at the resolved location.