Native approach to making product inactive on a specific date

Hi all,

Is possible to make a product unavailable to online store or even make the product draft on a specific date?
I tried launchpad and Shopify flow, but I can’t seem to get ?

You could use a “Scheduled time” trigger to accomplish that. Basically, do that, use “Get product data” to find whatever products you want to make unavailable (by sku or tag or id), use the “For each” action to loop over each item. And “hide product” action to hide them.

Reference for the query filters on a product:

https://shopify.dev/docs/api/admin-graphql/2023-01/objects/QueryRoot#connection-queryroot-products

1 Like

Actually, I added an example template to the template library:

https://shopify.com/admin/apps/flow/web/editor/templates/bdd77772-7f06-4bfc-b899-c4cecdd4626d

2 Likes