# Automatically enable and disable online fulfillment for locations

While you can't query location data directly in flow, you can get to it by setting up a product that is linked to each of the locations and then you can get that product data in flow and grab the locations on it that way.

I built a flow to automatically activate and deactivate online fulfillment for \~20 locations.&#x20;

This is something that retailers with multiple locations can use. It's common for online/instore hybrid shopify stores to want to only enable online fulfillment in locations after hours.

<figure><img src="https://1153628397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4RDgQr1PbXUjzWMoWZus%2Fuploads%2FsJlNxVU5R0N08FVv76q4%2FScreenshot%202024-07-10%20at%2012.25.00%E2%80%AFPM.png?alt=media&#x26;token=d560deba-9199-43c3-838a-f71f19b0de21" alt=""><figcaption></figcaption></figure>

Contact me if you're interested in using this flow: <kalen@flow-helper.com>
