Prefill coupon codes on a checkout

How to prefill and auto-apply coupon codes on checkout links

What is coupon prefilling?

Prefilling a coupon code applies a discount automatically when the customer opens the checkout — no code entry needed. Add ?coupon={CODE} to the end of your checkout URL.

Example: https://yourstore.checkoutpage.co/checkout-name?coupon=20OFF

How to prefill a coupon code

Add ?coupon={CODE} to the end of your checkout URL. This works for hosted pages, pop-up checkouts, and embeds.

Example: https://yourstore.checkoutpage.co/checkout-name?coupon=20OFF

On this page