Genesis GuideE-commerce · AI
ENPL
GuideResourcesdawidgac.com
Store Management
Zmienia dane w sklepie — wymagany dry_run

Draft Order Cleanup

Delete or archive draft orders older than 30 days.

BeginnerAPI 2025-01

Command

bash
shopify-admin-skills:draft-order-cleanup store=your-store.myshopify.com
### name Draft Order Cleanup — Delete Stale Draft Orders ### oneLiner Finds open draft orders older than N days and optionally deletes them — so the admin isn't cluttered with old B2B quotes and incomplete manual orders. ### whenToUse - Monthly as a routine admin hygiene task when the draft order list grows unchecked. - Before quarter-end, so stale drafts don't inflate pending revenue metrics. - After a B2B campaign season, when unaccepted quotes from the campaign are no longer live. ### howToRun ``` Run skill: shopify-admin-draft-order-cleanup Store: yourstore.myshopify.com older_than_days: 30 dry_run: true ``` ### whatYouGet CSV file `draft_cleanup_YYYY-MM-DD.csv` with columns: `draft_id`, `draft_name`, `customer_name`, `customer_email`, `created_at`, `total_value`, `currency`, `action`. Summary: stale drafts found, drafts deleted, total value cleared from the panel. With `dry_run: true`, the list shows what would be deleted without executing the mutation. For B2B stores, set `older_than_days: 60` or higher to allow for longer sales cycles. ### polishContext ### safetyNote This skill executes the `draftOrderDelete` mutation, which permanently deletes draft orders. Deleted drafts cannot be recovered. Before running without `dry_run`, review the list for drafts with notes or high value — these may be active B2B quotes awaiting customer approval.

Bazuje na open-source 40RTY-ai/shopify-admin-skills (MIT), rozszerzone o kontekst polskiego rynku przez Dawida Gaca.

Dawid Gac
WebsiteGuideResources
Genesis Guide by Dawid Gac© 2026 Dawid Gac