Update variant metafield depend on location name inventory

Hello,

im trying to update a variant metafield if the inventory for location “ecommerce” is equal to 0.

Is there anywat to do it? i cand find the way to do it!! pleasee help!!

Best regards

I’d be thinking something like:

Except available is marked as deprecated and this should be quantities but I can’t see it in object properties in Flow…

2 Likes

Thanks Tim, thing is the “name” option in the flow for location is going to be deprectated so im trying to do it in a different way.

Thanks!