Skip to main content
An import (a migration job) moves a business from another platform into yours: upload the platform’s CSV exports or pull with its API token, check every row, dry-run, then start a background run that is idempotent and resumable. Purchase history is saved as imported records, never as sales: it never counts toward revenue, fees, payouts or webhooks. Subscribers are never emailed by the import.
Importing works on every plan, including Free — dashboard, API keys and MCP alike. New subscribers still count toward your plan’s subscriber limit; the dry run tells you how many are over it.

Endpoints

source is gumroad, lemonsqueezy, stan or csv. kind is products, customers, orders (purchase history), subscribers or licenses (existing license keys; Lemon Squeezy and CSV).

Example: a Gumroad move

Dry run

How the run behaves

  • Order: products, then customers, then purchase history (matched to the products by source id or name), then subscribers, then license keys.
  • Idempotent: products match on the platform’s product id or the name, customers and subscribers on the email, purchases on the platform’s order id (or a stable hash of the row). Nothing is created twice.
  • Resumable: the run holds a lease and renews it per batch; if it stops, the sweep resumes it within a minute from the first row not yet done. start on a failed or canceled import imports the rest.
  • Existing data wins: a product, customer or subscriber you already have is skipped, never overwritten. A subscriber’s status is never changed.
  • Consent: each imported subscriber carries consent (source such as gumroad_csv or lemonsqueezy_api, the platform’s wording, the opt-in date). Statuses without consent (archived, requires_verification, unknown) are left out; unsubscribed / bounced are imported with that status. Addresses on the bounce / spam complaint list are left out.
  • Files: product files download from public https:// links only (no private addresses, re-checked on every redirect), up to your plan’s upload size, for deliverable file types only. Otherwise the product is marked fileNeeded with the reason in the report.

License keys

The licenses kind brings over keys you sold elsewhere so buyers keep the keys they have. Every row goes through the same import as POST /licenses/import: the exact key text, its activation limit and its activated instances, created in the import’s mode. Import your products first (and customers and orders, if you want each key linked to them): a key finds its product the way purchase history does, by the platform’s variant id, then product id (the products this or an earlier import brought over), then the product name. A key whose product isn’t found fails its row with “Import your products first”; import the product (or rename it to match) and start again. Lemon Squeezy columns (case and punctuation don’t matter): connect with a Lemon Squeezy token also reads your license keys and their activated instances (/license-keys, /license-key-instances), so nothing needs mapping. If your export only has an activation count and no instance ids, no activations are seeded: each device activates again on first launch and counts toward the limit from then on. Include instance ids so existing devices keep validating without re-activating. A key already imported on the same product is skipped (left as it is); a key that exists on another product or store fails its row.

Review and publish

Imported products are drafts. GET /migrations/{id}/publish lists the ones this import created, in the import’s own mode (test or live), each with a state (published, ready, needs_fix) and its issues: price_unconfirmed (the export had no readable price), cover_missing, file_missing (or link_missing / lessons_missing for link and course products), payouts_missing (live mode, paid product, no payouts account), selling_paused, rejected, not_approved. POST /migrations/{id}/publish with { "productIds": [...] } publishes each product through the same checks as POST /products/{id}/published and answers 200 with one result per product (published, already_published, needs_fix with its issues, or error with a code) plus counts. One product failing never fails the others. Ids that are not this import’s products are refused per row (not_in_import). Saving a price through POST /products/update/{id} clears price_unconfirmed; uploading the file clears file_missing.

White-glove imports

Our team can run the import for any creator, on any plan, from the admin dashboard. Those imports show up in GET /migrations with createdBy.type: "admin" and work exactly like yours.

MCP

list_import_platforms, list_import_jobs, create_import_job, get_import_job, add_import_file, update_import_mapping, list_import_rows, connect_import_account, dry_run_import_job, start_import_job, cancel_import_job, get_import_report.