Is there a way to trigger something, that would change the allow overselling status with flows

I gave you the answer above. Use the Send HTTP Request action to call the API directly. You’ll need to create an API key for your shop. There are a bunch of threads on the community about using Send HTTP Request.