Home > Docs > Order / Coupon / Subscription Export Import Plugin for WooCommerce > How to Preserve Order Numbers While Importing WooCommerce Orders

How to Preserve Order Numbers While Importing WooCommerce Orders

Last updated on April 24, 2026

WooCommerce order numbers can be preserved during import by activating a sequential order number plugin before importing and ensuring the order_number field is included in the CSV file. When using the Order, Coupon, Subscription Import Export plugin, this setup allows the original order number to remain unchanged even if the order ID is reassigned due to conflicts.

To preserve the order numbers while importing WooCommerce orders:

  1. Install and activate the sequential order number plugin, which will help import the order number as is. You can also try any other third-party plugins that would serve the purpose.
  2. Select the post type as Order.
  3. Select an import method.
  4. Map the import columns.
  5. Use the advanced options and import.

Before importing the order, we are activating the recommended third-party plugin.

installing third party plugin- sequential order number for woocommerce
Installing third party plugin

Let us consider a sample CSV with order number and order id as 69.

value of order id and order number in csv file
Order id and number in CSV file

Importing order number as it is

  1. From the WordPress admin panel, navigate to the menu WebToffee Import Export (Pro).
  2. Click on Import and specify the post type as Order.
  3. Select your import method and Import from location.
  4. Map the import columns.
  5. Select the required advanced import options and click on Import to finish.

For a step-wise procedure of import, refer to How to import WooCommerce Orders.

new-order-imported successfully using the import export plugin
Order imported successfully with order_id=70

Here, due to a conflict with an existing ID, the new order will get imported with order_id (70) and order_number (69) will be imported as is. As the third-party plugin is activated, the plugin will import the order number same as in the input file.

imported-order-number as same as in the csv file
Order imported successfully with order_number=69