Abandoned Cart Recovery
Restore a customer’s abandoned cart by passing the cart items back through the URL. When integrated with an email platform like Klaviyo, you can automatically send a recovery email with a link that rebuilds their exact cart.
https://yourstore.myshopify.com/a/link/recover?li=VARIANT_1:QTY_1,VARIANT_2:QTY_2&c=CUSTOMER_SHORTCODE
This is especially powerful combined with a promotion — “Complete your order and get 10% off!”
Reorder Emails
Send customers a link that pre-fills their cart with items from a previous order. Using Klaviyo, you can automatically send reorder links with the customer’s past purchase history — see Reorder links with Klaviyo.
https://yourstore.myshopify.com/a/link/reorder?li=VARIANT_ID:1&c=CUSTOMER_SHORTCODE
See Reorder Links with Klaviyo for a full setup guide.
Personalized Email Campaigns
Use your email platform’s merge tags to build personalized checkout links for each recipient. For example, in Klaviyo:
https://yourstore.myshopify.com/a/link/welcome?c=email:#{{ email }},first_name:#{{ first_name }}
This pre-fills the customer’s checkout information, reducing friction and speeding up the purchase.
Customer-Specific Offers
Create different offers for different customer segments by passing customer data through the URL. For example, a VIP-only link that identifies the customer:
https://yourstore.myshopify.com/a/link/vip-offer?c=CUSTOMER_SHORTCODE
CUSTOMER_SHORTCODE is the customer’s encrypted shortcode, not their Shopify customer ID. A plain customer ID fills the cart but not the customer’s details — see the URL parameters reference.
Combined with usage limits, you can ensure the offer isn’t abused.
Subscription Reorders
For subscription products, pass the selling plan ID to automatically enroll the customer in a subscription:
https://yourstore.myshopify.com/a/link/subscribe?li=VARIANT_ID:1:SELLING_PLAN_ID
Custom Order Attributes
Attach tracking or fulfillment data to orders using cart attributes:
https://yourstore.myshopify.com/a/link/partner-offer?attr=partner:acme-co,campaign:summer2026
These attributes appear on the order in your Shopify admin and can be used for reporting or fulfillment routing.