Gift cards guide

How to import existing gift cards into Shopify

Moving to Shopify from Square, Toast, Lightspeed or Clover? Here is how to import existing gift card codes and balances so your customers' old cards still work on day one.

6 min read Updated 2026-08-11 All guides →

The thing that goes wrong

Gift card migration failures are almost never technical. They are reconciliation failures. Someone exports face value instead of remaining balance, or exports a stale report, and the store quietly hands out several thousand dollars it had already collected against.

So the order of operations matters more than the tooling. Freeze, export, filter, reconcile, import, verify, switch.

What you need from the old platform

FieldWhy
Full codeThe whole point. Partial codes are useless.
Remaining balanceNot face value. This is the number that becomes the Shopify card amount.
Customer emailOptional but worth having. Attaches the card to a customer record so support can find it later.
Issue dateNot imported, but useful for your own reconciliation.
StatusSo you can drop cancelled and fully redeemed cards.

Doing the import

With Bulk Gift Cards, a migration CSV looks like this:

code,amount,currency,customer_email,notify,note
GC-4482-9917,45.00,USD,dana@example.com,,Square migration 2026-08
GC-4482-9918,12.50,USD,,,Square migration 2026-08
GC-4482-9919,100.00,USD,sam@example.com,,Square migration 2026-08

The notify column is deliberately empty on every row. The note column is the thing that saves you six months from now when someone asks which cards came from the old system.

Upload, read the preview, fix anything the preview flags, run five rows, test a checkout, then run the rest.

After the import

Export the created batch as a CSV and store it with your migration records. Then compare your total against the old platform’s outstanding liability report one more time. Two matching numbers is what lets you turn the old system off.

If you also want to move a loyalty or account-credit balance across, that is store credit rather than gift cards. See migrate store credit to Shopify.

Frequently asked questions

Can Shopify import gift cards natively?

No. Shopify admin has no gift card import feature on any plan. You need an app that can create gift cards with a code you specify, or a custom script using the giftCardCreate mutation in the Shopify Admin API.

Will the old codes still work after import?

Yes, provided the app creates the card with your specified code rather than generating a new one. The imported card is a real Shopify gift card with the old code as its code, so a printed card, a wallet pass or a code a customer wrote down all still redeem.

What if the old codes are in a format Shopify rejects?

Shopify gift card codes must be between 8 and 20 characters and alphanumeric. Codes with dashes usually import fine because the dashes are formatting rather than part of the stored code. Codes shorter than 8 characters have to be padded, which means reissuing and telling those customers, so check the format before you promise customers a seamless migration.

Do I import face value or remaining balance?

Remaining balance. Importing face value hands money away on every partially used card. If the old platform only exports face value and redemption history separately, do the subtraction before you build the CSV.

How do I handle cards issued after I start the migration?

Freeze gift card sales on the old platform, export, import, verify, then reopen on Shopify. If you cannot freeze, run a second delta import for anything issued during the gap and reconcile again.

Need help with this on your store?

We build free Shopify apps for the simple stuff. Browse the full set.

See all apps Contact us