How to Import Shipment Tracking Numbers in Bulk Using a Csv File
To import shipment tracking numbers in bulk, start with the CSV template provided by your tracking or order-management system. Enter one shipment per row, keep tracking numbers as text, include any required carrier or order fields, and save the file as a CSV. Upload a small test file first, review any validation errors, then import the full file and confirm that the expected shipments appear. The exact columns and upload steps depend on the system you use; a CSV that opens correctly in a spreadsheet is not necessarily ready to import.

This guide is for merchants and operations teams adding existing tracking numbers to a system. A tracking number identifies a shipment for tracking purposes; importing it does not purchase postage, create a shipping label, or prove that a carrier has accepted the parcel.
Choose the destination before preparing the file
“Bulk import” can mean two different tasks. You might be attaching tracking numbers to orders so customers can see shipment progress, or you might be adding numbers to a tracking workspace to monitor parcels. Those tasks may require different fields. An order system generally needs enough information to match each number to the right order or fulfillment record. A tracking workspace may instead ask for a tracking number and, where necessary, a carrier.
Find the destination system’s current CSV template or import instructions before editing your data. Check where the upload takes place, whether the feature is available in your account, the required headers, the accepted carrier format, file-size or row limits, and what happens if a shipment already exists. Do not assume that a system which accepts pasted tracking numbers also accepts CSV uploads. Likewise, an API for submitting tracking numbers does not, by itself, establish that a CSV upload screen exists.
If you use 17TRACK to check parcel progress, its tracking page is a place to review tracking information. For a business workflow that submits shipment data programmatically, consult the 17TRACK Tracking API documentation and confirm its current requirements. Before preparing a CSV for any 17TRACK product, verify the specific product interface and its import instructions rather than assuming that the public tracking page provides a CSV importer.
Build a CSV the importer can match to shipments
A reliable import begins with an exact match between the file and the destination’s expected schema. Use the provided template if there is one, and leave its header names and column order unchanged unless the importer explicitly allows mapping. Some systems let you map fields during upload; others reject unrecognized headers. Guessing a column name such as carrier or order_id is avoidable when a template is available.
For each row, verify these practical requirements:
- Tracking number: Keep the full value, including leading zeros, letters, and any punctuation that genuinely belongs to the number. Store the column as text while working in a spreadsheet.
- Carrier: If the importer asks for one, use its accepted carrier name or code. A familiar display name may not be the value its import process expects.
- Order or fulfillment identifier: Include the identifier required to attach the number to the correct record. A customer name alone is usually a poor substitute for an unambiguous internal identifier.
- One row per intended record: If an order has multiple parcels, check whether the importer permits multiple rows for one order and how it handles more than one tracking number.
- Optional fields: Add dates, customer details, or URLs only if the documented template requests or supports them. More columns do not make an import more reliable.
CSV describes a way to represent tabular text, not a universal shipment-import format. RFC 4180 documents common CSV conventions, including the use of quotation marks when a field contains a comma. The receiving system still determines its own field names, accepted values, and validation rules. In particular, do not split a tracking number across cells to work around a spreadsheet display problem.
Spreadsheet applications can silently change data that looks numeric. A long number may be displayed in scientific notation, leading zeros may disappear, or a date-like value may be reformatted. Setting the tracking-number column to text before pasting data helps, but check the saved CSV itself as well. Open a copy in a plain-text editor and inspect several rows, especially numbers that begin with zero or contain many digits. If values changed during spreadsheet editing, restore them from the original export rather than trying to reconstruct them by sight.
Clean the file without losing shipment information
Before uploading, remove blank rows and correct fields that have shifted into the wrong columns. Check for accidental spaces at the beginning or end of identifiers. Do not remove internal spaces or punctuation from a tracking number unless the carrier or destination system instructs you to do so. The goal is to preserve the original identifier, not make every number look alike.
Review duplicates in context. The same tracking number appearing twice may be an accidental repeat, but it could also reflect how your source system exports related order records. Compare the tracking number, carrier, and destination order or fulfillment identifier before deleting a row. If you are rerunning a file after a failed import, find out whether the importer skips existing records, updates them, or creates another entry. That behavior is product-specific.
Check encoding if names, references, or other permitted text fields contain accented or non-Latin characters. Save using the encoding specified by the importer; UTF-8 is a common choice when the instructions allow it. Keep a copy of the source export so you can compare it with the cleaned file if a value looks wrong after import.
Treat the CSV as operational data. Include only fields needed for the import, store the working file where the appropriate team can access it, and avoid sending it through an unapproved channel. If a file comes from an external party, inspect it before opening it in a spreadsheet: text beginning with characters interpreted as formulas can pose a spreadsheet-injection risk. The safest handling procedure depends on your organization’s tools and security guidance.
Test, upload, and reconcile
Create a small test CSV from the same template and cleaning process you intend to use for the full batch. Choose a few representative records: a typical number, an alphanumeric number if applicable, a number with a leading zero, and an order with more than one parcel if your workflow supports it. Use real operational records only within your authorized system, and make sure a test import will not trigger customer-facing notifications unexpectedly.
- Upload the test file. Use the destination system’s documented import screen. If it offers a field-mapping step, check every mapping before confirming.
- Read the result report. Distinguish accepted rows from rejected or skipped rows. An uploaded file and a completed import are not necessarily the same thing.
- Inspect records in the destination. Open the resulting shipments or orders. Confirm that each number is attached to the intended record and, if applicable, associated with the correct carrier.
- Check downstream effects. If the system can send notifications or expose tracking to customers, verify what importing a number triggers before running the full batch.
- Import the remaining rows. Keep the original CSV and any result or error report. Reconcile the count of source rows with accepted, skipped, and rejected rows rather than relying on a success message alone.
After the full import, spot-check records from the beginning, middle, and end of the file. Include any shipments with unusual identifiers or multiple parcels. A number appearing in the destination confirms that a record was added; it does not necessarily mean that tracking events are available yet. Carrier scans can appear later, and a number may need investigation if it was assigned to the wrong carrier or entered incorrectly.
Fix common import failures
“Missing required field” or “invalid header.” Compare the header row with the destination’s current template. Check for changed spelling, extra spaces, blank header cells, or an export that put a title row above the actual headers.
“Invalid carrier.” Check the importer’s accepted carrier values. Do not replace a carrier with a guess merely to make the row pass; an incorrect association may make the shipment harder to track.
Number looks different after upload. Compare the imported value with the original source and the saved CSV, not just the spreadsheet view. Look for lost leading zeros, scientific notation, or a cell that was converted to a date.
Duplicate or already-exists error. Search for the existing tracking record and verify its order association before deciding whether to skip, update, or correct the source row. Consult the importer’s instructions before retrying the entire file.
Import succeeded, but no tracking events appear. First verify the number and carrier against the shipping record. Then check whether the parcel has received its first carrier scan. Do not treat an empty event history, on its own, as proof that the CSV import failed.
For recurring imports, make the checks repeatable. Export from a consistent source, retain the destination’s current template, document the carrier values your team uses, and record how rejected rows are corrected and resubmitted. If you need frequent or automated submission rather than a manual file upload, evaluate the destination’s documented API or integration options separately. That is a workflow decision, not a reason to assume a CSV interface supports automation.
FAQ
What columns should a shipment tracking CSV contain?
Use the destination system’s template. A tracking number is the central value, but the system may also require a carrier and an order or fulfillment identifier. The exact header names and required fields vary, so a generic CSV layout is not a safe substitute for the official template.
Can I put several tracking numbers in one cell?
Only if the importer explicitly supports that format. Otherwise, use the documented method for multiple parcels, which may require separate rows. Putting several numbers in one cell without instructions can cause the entire value to be treated as one invalid number.
Why did my spreadsheet change a tracking number?
Spreadsheets may interpret an identifier as a number or date. Format the column as text before entering values, then inspect the saved CSV in a plain-text editor. If the value was already changed, obtain it again from the source record.
Should I reupload the whole file if some rows fail?
Check the import report and the system’s duplicate-handling rules first. Correcting and resubmitting only rejected rows may be appropriate, but some systems handle retries differently. Reconcile existing records before another upload to avoid unintended duplicates or updates.
Does a successful import mean the package is in transit?
No. Import success means the destination accepted the shipment data under its import rules. It does not establish that a carrier has collected or scanned the parcel. Verify the shipping record and subsequent tracking events separately.
Sources
- RFC 4180: Common Format and MIME Type for Comma-Separated Values (CSV) Files — CSV structure and quoting conventions.
- 17TRACK Tracking — tracking-page reference.
- 17TRACK Tracking API Documentation — reference for evaluating a documented programmatic tracking workflow.


