Gift subscription tools
Manual rerun for gift-subscription discounts and Klaviyo events (same behavior as the CLI scripts).
How this works
- Normally the webhook worker processes new orders. Use this when you need to retry or run against a specific order or draft.
- The tool loads Gift Subscription line items, creates a unique Shopify discount code for each term (3 / 6 / 12 months), then sends the Klaviyo "Gift Subscription" track event using line-item properties.
- Draft orders: You may edit properties here and optionally save them back to Shopify before running. Saving can affect draft discounts—double-check in Admin after save.
- Completed orders: Properties are shown read-only; the run uses Shopify data as-is.
Lookup
Gift subscription lines
Warning: updating drafts via the Admin API can strip line-item discounts. Verify the draft in Shopify after saving.