Plans: All plans | Platforms: All platforms
Overview
AfterShip Shipping's CSV import feature lets you bulk-import orders into your Fulfillments dashboard to streamline order management. This article covers how you can manually upload a CSV file to import orders for shipping.
Manually import orders by CSV
Step 1: Download the CSV template
Go to Fulfillments > Awaiting shipment in the AfterShip Shipping admin.
Click CSV import and select Import by CSV.
In the dialog, download the sample CSV template. It shows how orders with single and multiple shipments should be filled in, and which fields are required for a successful import. For a full breakdown of every field, open the importing CSV files help article linked in the dialog.
Orders sharing the same
order_numberas an existing order will overwrite that record.Files must not exceed 10 MB.
Step 2: Fill in the CSV template
Fill in the CSV template according to the format. The following fields are required for Shipping.
You can check these resources for more information on CSV fields and definitions.
Shipping requires the following fields, grouped by section:
Order information
Field | Format | Description |
| Up to 64 characters. Letters, numbers, hyphens, and | Your order number, used as the unique key for orders. Orders with the same |
| One of | The status of the order. |
| One of | The fulfillment status of the order. |
| Decimal number. | The total price of the order. |
| Decimal number. | The total shipping fee applied to the order. |
| Decimal number. | The sum of all taxes applied to the order. |
| Language code (ISO 639-1) + region code (ISO 3166-1 alpha-2), e.g. | The customer's language and region. |
| 3-letter ISO 4217 code, e.g. | The currency used at checkout. |
| ISO 8601 date and time, e.g. | The date and time the order was created. |
Ship to address
Field | Format | Description |
| Up to 256 characters. | The customer's first name. |
| Up to 256 characters. | The customer's mailing address. |
| Up to 256 characters. | The customer's postal code (zip, postcode, Eircode, etc.). |
| Up to 256 characters. | The customer's city, town, or village. |
| Up to 256 characters. | The customer's state, province, or prefecture. |
| 3-letter ISO 3166-1 alpha-3 code, e.g. | The customer's country. |
| Up to 256 characters. | The customer's email address. |
Order item
Field | Format | Description |
| Up to 256 characters. | The order item's ID. You can use an incrementing number starting from 1. |
| Up to 1024 characters. | The title of the product variant. |
| Up to 256 characters. | The item's SKU (stock keeping unit). |
| Whole number. | The number of units of this item purchased. |
Save the template in
.csv(comma-separated values) format.Click Upload CSV file and select your file, or drag-and-drop it onto the upload area. To use a different file, upload it again before clicking Import.
Click Import. (This button stays inactive until a file is selected.) A progress bar shows the import's status, you can close the dialog and the import will keep running in the background.
Refresh the page to see successfully imported orders in the shipment list: Awaiting shipment or Shipped.
Check the import logs to confirm every order imported successfully.
A new import only starts once the previous one finishes. All shipments linked to an order are imported together with the order information.
View CSV import logs
The logs page gives a detailed view of your CSV import history.
Go to Fulfillments > Awaiting shipment in the AfterShip Shipping admin.
Click CSV import and select View logs.
If you haven't imported any orders yet, no logs will appear. Otherwise, the log lists:
Column | Description |
Feed URL | The name of the manually uploaded file, or the source URL for an auto-fetched feed. |
Feed type | The method used to import orders. |
Import to | The platform the file was imported to. |
Processed time | The date and time the file was processed. |
Processed | The total number of orders in the file. |
Succeeded | The number of orders successfully imported. |
Failed | The number of orders that failed to import. |
Error log | The reason an import failed. Download the log to view it. |
Find the failure reason under the Reason column, fix it, and re-import the file.
Key takeaways
CSV import lets you bulk import orders into your Awaiting shipment list, either by manual upload or scheduled auto-fetch from a server URL.
It's accessed from Fulfillments > Awaiting shipment > CSV import in the Shipping admin.
CSV files can't exceed 10 MB, and orders sharing an existing
order_numberget overwritten.Twenty fields are required while importing order via CSV files, covering order details, the ship to address, and item information.
After importing, check View logs to confirm every order succeeded, and download the error log for details on anything that failed.



