Tags active products whose heaviest variant meets or exceeds a weight threshold (default 20 kg) with 'heavy-item' for oversized-shipping handling.
async def run(ctx): limit_kg = ctx.params.get("weight_kg", 20) for product in await ctx.shopify.query(ACTIVE_PRODUCTS): heaviest = max(v.weight_kg for v in product.variants)
If you run a sharper version of this template, or something it inspired, send it in. We review every application and publish the good ones, credited to you or your agency.
Describe the job, watch the AI build it, rehearse it, deploy it.
Free plan · no card · 🇪🇺 EU data residency