API DocsCreate Ticket

CSV Order Import Guide

CSV Order Import Guide

Import orders from any source using CSV files. Perfect for platforms without direct integration or manual order entry.

When to Use CSV Import

Best For:

  • Platforms without API integration
  • Manual order entry
  • Bulk historical imports
  • Custom order sources
  • Spreadsheet-based workflows

CSV File Requirements

Format Specifications:

  • File format: .csv
  • Encoding: UTF-8
  • Max file size: 10MB
  • Max rows: 10,000

Required Columns

Minimum Fields:

ColumnDescriptionExample
order_idUnique identifierORD-001
ship_nameRecipient nameJohn Smith
ship_address1Street address123 Main St
ship_cityCityNew York
ship_stateState codeNY
ship_zipPostal code10001
ship_countryCountry codeUS

Optional Columns

Additional Fields:

ColumnDescription
ship_address2Apt/Suite
ship_phonePhone number
ship_emailEmail address
weightPackage weight (oz)
lengthLength (in)
widthWidth (in)
heightHeight (in)
serviceShipping service
itemsItem description

Sample CSV

Example File:

order_id,ship_name,ship_address1,ship_city,ship_state,ship_zip,ship_country,weight
ORD-001,John Smith,123 Main St,New York,NY,10001,US,16
ORD-002,Jane Doe,456 Oak Ave,Los Angeles,CA,90001,US,8
ORD-003,Bob Wilson,789 Pine Rd,Chicago,IL,60601,US,24

Import Process

Step-by-Step:

  1. Prepare your CSV file
  2. Go to Orders → Import
  3. Click "Upload CSV"
  4. Map columns to fields
  5. Preview import
  6. Confirm and import

Column Mapping

Flexible Mapping:

  • Auto-detect common headers
  • Manual mapping for custom columns
  • Save mapping templates
  • Reuse for future imports

Validation Rules

Pre-Import Checks:

  • Required fields present
  • Valid addresses
  • Proper format
  • No duplicates

Error Handling

Common Errors:

ErrorCauseFix
Invalid addressMissing fieldComplete address
Duplicate orderSame order_idRemove duplicate
Invalid stateWrong codeUse 2-letter code
Bad encodingNon-UTF8Re-save as UTF-8

Import Preview

Review Before Import:

  • Row count
  • Error count
  • Warning list
  • Sample rows

Partial Imports

Handling Errors:

  • Skip invalid rows
  • Import valid only
  • Download error report
  • Fix and re-import

Import History

Track All Imports:

  • Date and time
  • File name
  • Row count
  • Success/error counts
  • Download original

Templates

Pre-Built Templates:

  • Basic orders
  • With dimensions
  • International orders
  • Custom templates

Exporting Templates

Get Blank Template:

  1. Orders → Import
  2. Download Template
  3. Choose format
  4. Fill in data

Best Practices

For Successful Imports:

  1. Use UTF-8 encoding
  2. Include headers
  3. Validate addresses first
  4. Test with small batch
  5. Check for duplicates

Address Formatting

US Addresses:

ship_state: Use 2-letter code (NY, CA)
ship_zip: 5 or 9 digits (10001)
ship_country: US

International:

ship_state: Province/region
ship_zip: Local format
ship_country: 2-letter ISO code

Weight and Dimensions

Units:

  • Weight: ounces (oz)
  • Dimensions: inches (in)
  • Convert if needed

Scheduling Imports

Automated Options:

  • SFTP upload
  • Scheduled folder watch
  • API upload endpoint

Multi-Package Orders

Handling:

  • One row per package
  • Same order_id
  • Different tracking

After Import

Next Steps:

  1. Review imported orders
  2. Verify addresses
  3. Select shipping service
  4. Create labels

Troubleshooting

Import Failed:

  1. Check file encoding
  2. Verify column headers
  3. Review error log
  4. Validate addresses
  5. Try smaller batch

Limitations

Current Limits:

  • 10,000 rows max
  • 10MB file size
  • UTF-8 only
  • No formula cells

Was this article helpful?