Map supplier data to your product CSV
Define product and variant rows, map source fields, preserve unknown values and review a small data example before catalogue import.
Before turning a supplier spreadsheet into a catalogue import, decide what each row represents. A product with several options may need a different structure from a product with one configuration.
A useful mapping connects each source value to an agreed destination field and records how your team will check the result. Start with a small data example so you can resolve the difficult cases before preparing the full file.
Bring both sides of the mapping
Keep the original source file unchanged. Gather your destination’s current import template or a recent export, together with its field instructions. Record whether you are creating products or updating existing records.
Choose a small data example that includes a simple product, a product with several options and a missing attribute. These cases expose different mapping decisions. Write down the intended output format and who will check it in the destination system.
Define what one row represents
A row might describe a product, a selected variant or a single offer. Make that choice explicit before counting records.
JetonTrack’s downloadable fictional CSV examples keep nested variants as JSON text within a source record’s row. A destination that needs separate variant rows requires an agreed conversion. Review the data example pack with that distinction in mind.
The following table is a separate fictional exercise showing a proposed row for each variant. It contains no observed listings; sample is true, while source_url and observed_at are null.
Scroll horizontally to read every column.
| Source product ID | Source variant ID | Colour | Size | Internal SKU mapping |
|---|---|---|---|---|
| DEMO-001 | 00042-A | Natural | Small | Pending review |
| DEMO-001 | 00042-B | Natural | Large | Pending review |
This is one product with two variants. Two output rows do not, by themselves, mean two products or a duplicate-record error.
Preserve identifiers before assigning catalogue keys
Keep source identifiers as text so leading zeroes survive. Retain the marketplace and product relationship alongside each variant ID. Your internal SKU needs a separate, reviewed mapping.
Check the destination’s rule for finding an existing record. A product title or matching image is insufficient evidence for merging records. Use the source ID and SKU guide to define which keys your team controls and which belong to the source.
Write a rule for every mapped field
Complete a mapping table before converting the full file. The target columns below are placeholders for your agreed schema, rather than a Shopify import template.
Scroll horizontally to read every column.
| Source field | Target column | Handling rule | Missing-value rule | Data check | Reviewer |
|---|---|---|---|---|---|
| product_id | [enter] | Preserve as text | Flag missing key | [enter result] | [name] |
| variants[].variant_id | [enter] | Link to parent product | Flag unresolved variant | [enter result] | [name] |
| Selected option values | [enter] | Preserve option meaning | Keep unresolved | [enter result] | [name] |
| Image reference | [enter] | Retain product or variant association | Record unavailable reference | [enter result] | [name] |
Keep source values and transformed values distinguishable. If your team changes a category label or translates an attribute, record the rule and its review status.
Keep source references and data-quality notes in the review table or a companion file. The final import file should contain only columns its destination template accepts.
Decide what missing means
An unknown stock quantity must remain distinguishable from a confirmed zero. An empty measurement should not become a guessed value.
The destination also determines what a blank cell does. Shopify’s CSV import guidance distinguishes a blank optional column from an omitted column when overwriting products. Check the rule for your exact update before preparing the import file.
Record unresolved values in a data-quality note. Assign the review to someone on your team, and agree whether the affected record can proceed.
Check the file, then check the destination
First reopen the converted file. Compare product and variant counts separately. Check identifier text, characters, quoted commas and the relationship between option values and image references.
Then have your team or integration provider test a small subset in an appropriate destination environment. Keep a backup and inspect the resulting records. Shopify documents field dependencies in its product CSV specification; use the current instructions for your store.
File preparation and destination testing produce different evidence. Record both results, including rejected rows and corrections still needed.
Agree what delivery must contain
Your review is complete when another colleague can trace each tested target value to its source, understand its handling rule and see every unresolved item. Keep the mapping version with the checked output.
For a JetonTrack data project, bring representative listing links and your target field definitions. Agree the product and variant structure, source references, JSON or CSV format and data-quality notes. Your team’s destination checks establish whether the prepared file works in its intended system.