kedubay

Import and Export Products with CSV

Use CSV import to add or update many products at once. Use CSV export to download the selected store's products for editing, backup, or migration.

Export products

  1. Select the store you want to manage.
  2. Open Products in the sidebar.
  3. Click the Export products download button.
  4. Open the downloaded file in a spreadsheet editor.

The export contains one row per product or variant and includes all non-deleted products in the store.

The file is named:

<store-slug>-products-<YYYY-MM-DD>.csv

Import products

  1. Select the store you want to manage.
  2. Open Products in the sidebar.
  3. Click the Import products upload button.
  4. Click Template to download a ready-to-use CSV template.
  5. Fill in the template, keeping the header row unchanged.
  6. Choose the CSV file.
  7. Review the product and variant counts, plus any issues.
  8. Fix all issues, then click Import.

The preview does not save anything. Import is disabled while the file has validation issues.

Importing requires an Editor, Admin, or Owner role. Exporting requires at least view access.

CSV format

Each product starts with a parent row. Variant rows follow the parent row and link back to it.

sku,parent_sku,parent_name,name,description,visibility,brand,vendor,product_type,price,compare_at_price,stock_quantity,track_inventory,allow_backorder,low_stock_threshold,out_of_stock_threshold,weight,image_url,option1_name,option1_value,option2_name,option2_value
CANVAS-TOTE,,,Canvas Tote,Heavy canvas tote bag,public,Kedubay,Kedubay,physical,1200,1500,25,true,false,5,0,0.25,https://example.com/canvas-tote.jpg,,,,
LINEN-SHIRT,,,Linen Shirt,Soft breathable linen shirt,public,Kedubay,Kedubay,physical,2500,3000,0,true,false,10,0,0.3,https://example.com/linen-shirt.jpg,Size,,Color,
LINEN-SHIRT-S,LINEN-SHIRT,Linen Shirt,,,public,Kedubay,Kedubay,physical,2500,3000,8,true,false,10,0,0.3,,Size,Small,Color,Sand

Columns

Column Required Description
sku No Unique product or variant identifier. Used to create or update the row.
parent_sku Variants SKU of the parent product. Leave blank on parent rows.
parent_name Variants Parent product name. Used when parent_sku is blank, or to confirm the parent reference.
name Parents Product name. Required on parent rows. Optional on variant rows.
description No Product description.
visibility No public, private, or draft. Defaults to public for new parent products.
brand No Product brand.
vendor No Supplier or vendor.
product_type No Product type, such as physical.
price No Selling price in the store currency. Use numbers only, without a currency symbol.
compare_at_price No Original or comparison price. Use numbers only.
stock_quantity No Available stock. Must be a non-negative whole number.
track_inventory No true or false.
allow_backorder No true or false.
low_stock_threshold No Low-stock warning threshold. Must be a non-negative whole number.
out_of_stock_threshold No Out-of-stock threshold. Must be a non-negative whole number.
weight No Product weight. Must be a non-negative number.
image_url No Public image URL. Use a full https:// URL.
option1_name No First option name, such as Size.
option1_value Variants First option value, such as Small. Leave blank on parent rows.
option2_name No Second option name, such as Color.
option2_value Variants Second option value, such as Sand. Leave blank on parent rows.

Headers are exact. There are no aliases. Do not add a slug column; slugs are generated automatically.

Rules

  • A parent row has blank parent_sku and parent_name.
  • Parent rows require name.
  • A variant row has a parent_sku or parent_name.
  • If both parent references are present, they must refer to the same parent.
  • Variants may omit name; they inherit the parent name.
  • Variant rows require at least one option name/value pair.
  • Parent rows define option names but must not define option values.
  • Option values belong on variant rows.
  • Each variant must provide a value for every option defined by its parent.
  • Option names must match across all rows in the same product.
  • Variant option combinations must be unique within a parent.
  • SKUs must be unique within the store.
  • Prices and numbers use plain numbers, not formatted currency.
  • Booleans accept true, false, 1, 0, yes, no, y, or n.
  • Visibility accepts public, private, or draft.
  • Product and variant rows are never deleted by import.

SKU behavior

  • If a row has an SKU, the importer uses it to find the existing product or variant.
  • If the SKU is not found but the name or option combination matches an existing row, the existing row is updated and adopts the provided SKU.
  • If the SKU is blank, parent rows match by name and variants match by parent plus option values.
  • Existing SKUs are kept when the CSV SKU is blank.
  • Missing SKUs are generated automatically:
    • Parent products use SKU-<code>.
    • Variants use <parent-sku>-<code>.
  • Generated SKUs are normal SKUs and can be replaced later.

Update behavior

  • Existing parent products match by sku, then by name.
  • Existing variants match by sku, then by parent plus option values.
  • A variant SKU that belongs to another parent is rejected.
  • Existing options are merged by name and value and keep their IDs.
  • Existing variants not present in the CSV are left unchanged.
  • Blank optional cells preserve the existing value on update.
  • New variants inherit missing values from the parent.
  • Renamed products receive new slugs. Old product URLs redirect to the new slug.

Limits

  • Maximum file size: 5 MB
  • Maximum data rows: 500
  • Maximum columns: 64
  • Maximum characters per cell: 10,000

The file is validated before import. Products are then written in batches. If an unexpected database error occurs, batches already saved before the error are not rolled back.

Deleted products

Deleted products are excluded from export and rejected by import. Restore a deleted product before trying to update its SKU through CSV.

Common issues

Issue Fix
Parent product rows require a name Add name to every parent row.
Variant rows require at least one option name/value pair Add optionN_name and optionN_value to the variant row.
Duplicate SKU Make every SKU unique.
Parent was not found Add the parent row or use an existing parent SKU/name.
Option name mismatch Use the same option name for every row in the product.
Variant is missing a value for option Fill in every option value defined by the parent.
Duplicate variant option combination Change the option values or merge the duplicate variant.
Invalid price or number Use digits only, with up to two decimal places for prices.
Invalid visibility Use public, private, or draft.
Too many rows or columns Split the file into smaller imports.