Skip to Content
StarsellDocs
Import and export

Import and export

Move products, customers, orders, stock and discounts in and out as CSV files, checked before anything changes, in the background however big the file.

Import and export is a page of its own under each store. Open it from the Import and export button on Products, Customers, Orders, Inventory or Discounts; it opens on that list's records.

ExportImport
ProductsYes, in Shopify's columnsYes, created or updated by Handle
CustomersYesYes, matched by email, then phone
OrdersYes, one row per line item-
InventoryYes, with a Count column to fill inYes, stock counts
DiscountsYes-

The column reference lists every column each file has and reads.

Who can use it

Each record needs its own permission, for exports, imports and downloads alike:

RecordsPermission
Products, inventoryProducts
CustomersCustomers
OrdersOrders
DiscountsProducts or Settings

The Recent list shows only jobs for records you can open. A file never sits in the store's Files and has no public link: it downloads from this page, with your permissions checked.

Export

Pick what to export. Products can be narrowed to Active, Draft or Archived; orders to a range of days; customers to email subscribers only. Click Export.

The file is made in the background and shows under Recent with a progress bar. You can leave the page: when it's ready, the bell says so, and a long one sends you an email too. Click Download.

Files are UTF-8 with a byte order mark, so Excel and Google Sheets read Hebrew and other scripts right. Cells that a spreadsheet would run as a formula (starting with =, +, - or @) start with a '.

Import

Pick and upload

Pick Products, Customers or Inventory, then drop a CSV on the box or choose one. Up to 50 MB and 200,000 rows. Commas, semicolons (from spreadsheets set to many languages) or tabs all work. Download a template gives an empty file with the columns.

The check

Click Check the file. Starsell reads every row and works out what it would do, without changing anything. This is the dry run; it runs in the background like an export.

Review

When the check ends, its review opens: how many records are New, Updated, Same as now and Can't be used, the first rows with what each would do, and the first problems. Download the error report for all of them.

Import

Click Import N changes. The same file is imported for real, in the background. Rows that can't be used are left out. Not now keeps the check under Recent, to import later.

A file can be committed once. To import it again, upload it again.

The error report

The report is your file's own columns, only the rows that couldn't be used, plus an Error column at the end: "Row 14: lots isn't a price". Fix the rows in it and import the report itself: the Error column is ignored.

Products

Rows are grouped by Handle, the way Shopify writes them: the first row of a handle has the product's fields, the next rows add versions and images. A handle that exists updates that product; a new one makes a draft product, unless the file says Status or Published.

  • Only filled cells change anything. An empty cell never clears a field, and versions the file doesn't list are kept.
  • A version is found by Variant ID, then Variant SKU, then its option values. Otherwise it is new.
  • New option values join the product's options. A product's option names can't change from a file: "The options don't match the product's: Size, Color."
  • Variant Inventory Qty sets what is on hand. Every change goes through the stock history with the reason Import, and low and out of stock alerts fire as usual. Products CJ keeps stock for are left alone.
  • Image Src links are kept as the product's images, in Image Position order. A link to one of your own Starsell files becomes that file again.
  • A Shopify product export imports as it is. Vendor and the columns Starsell doesn't use are ignored.
  • Bundles are updated, but their versions are changed on the product page.

Customers

A row matches a customer by email, or by phone when there is no email; a new email or phone makes a new customer. Empty cells leave a field as it is. With Replace what customers have off, filled cells only fill fields that are empty; with it on, they replace what is saved. Tags and addresses are added. Consent from a file is recorded with the source import. Erased customers are skipped.

Inventory

Export inventory, fill in Count for the versions you counted and import the same file. A row finds its version by Variant ID, then SKU; rows with an empty Count are skipped. Counts set what is on hand, in batches, each in the stock history as Import. A SKU two versions share asks for the Variant ID instead. Shopify's inventory export (On hand, Available) works too.

While it runs

Cancel stops a job that waits or runs; what an import already did stays done. A job that stops because the server restarted says so; running it again doesn't double anything, since products and customers are matched and counts are set, not added.

A store runs up to five imports and exports at once. The last 50 stay under Recent. Files, exports and uploads alike, are kept for 14 days and then removed, since they can hold customers' details; the job stays listed without a download.

The activity log

Every finished import and export is in the store's activity log with who ran it and what it did: "Imported products from CSV: 12 new, 3 updated, 1 failed", "Exported 240 orders to CSV". Checks are not logged; they change nothing.

On this page