Export Customers from WooCommerce 2.2+
This task will download customers from your WooCommerce store to an XML file.
Settings
Connection
Required
The WooCommerce connection to use. See the Connecting to WooCommerce 2.2+ article if you require more information on how to create/manage connections.
Download Meta Data
Required
Set to true to download additional meta data for the customers. Defaults to false.
Download Setting > Date Created
Required
The date to download customers from when the task is set to download new orders. Updates automatically each time a customer is downloaded.
Download Setting > Date Modified
Required
The date to download customers from when the task is set to download modified orders. Updates automatically each time a customer is downloaded.
Download Setting > Export Modified, New or All Records
Required
Choose which customers should be downloaded from WooCommerce. The available options are:
- Modified - Downloads updated customers since the date shown in the Date Modified setting.
- New - Downloads new customers since the date shown in the Date Created setting.
- All - Downloads all customers.
Page Size
Required
The number of customers to download per page. Increasing this value will speed up the download, but will consume more memory. Defaults to 10.
Record IDs
Optional
Enter a comma separated list of IDs of specific records to export. This will override the Download Settings.
Output File
Required
The name of the XML file to export the customers to. Defaults to 'woo_commerce_customers.xml'.
Zynk Setting
See Common Task Settings.
Examples
Sample output file:
<?xml version="1.0" encoding="utf-8"?>
<CustomerList>
<customers>
<customer>
<id>1</id>
<created_at>2015-03-11T16:54:11</created_at>
<updated_at xsi:nil="true" />
<email>[email protected]</email>
<first_name>Adam</first_name>
<last_name />
<username>admin</username>
<last_order_id>9</last_order_id>
<last_order_date>2015-03-12T17:05:25</last_order_date>
<orders_count>1</orders_count>
<total_spent>8.00</total_spent>
<avatar_url>https://secure.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=96</avatar_url>
<billing_address>
<first_name>Adam</first_name>
<last_name>Wardle</last_name>
<company>Zynk Software Ltd</company>
<address_1>Nelson House</address_1>
<address_2 />
<city>Jesmond</city>
<state>Tyne & Wear</state>
<postcode>NE2 3AE</postcode>
<country>GB</country>
<email>[email protected]</email>
<phone>08451232920</phone>
</billing_address>
<shipping_address>
<first_name>Adam</first_name>
<last_name>Wardle</last_name>
<company>Zynk Software Ltd</company>
<address_1>Nelson House</address_1>
<address_2 />
<city>Jesmond</city>
<state>Tyne & Wear</state>
<postcode>NE2 3AE</postcode>
<country>GB</country>
</shipping_address>
<customer_meta>
<nickname>admin</nickname>
<first_name>Adam</first_name>
<last_name />
<description />
<rich_editing>true</rich_editing>
<comment_shortcuts>false</comment_shortcuts>
<admin_color>fresh</admin_color>
<use_ssl>0</use_ssl>
<show_admin_bar_front>true</show_admin_bar_front>
<wp_capabilities>
<administrator>true</administrator>
</wp_capabilities>
<wp_user_level>10</wp_user_level>
<dismissed_wp_pointers>wp360_locks,wp390_widgets,wp410_dfw</dismissed_wp_pointers>
<show_welcome_panel>1</show_welcome_panel>
<wp_dashboard_quick_press_last_post_id>10</wp_dashboard_quick_press_last_post_id>
<billing_first_name>Adam</billing_first_name>
<billing_last_name>Wardle</billing_last_name>
<billing_company>Zynk Software Ltd</billing_company>
<billing_address_1>Nelson House</billing_address_1>
<billing_address_2 />
<billing_city>Jesmond</billing_city>
<billing_postcode>NE2 3AE</billing_postcode>
<billing_country>GB</billing_country>
<billing_state>Tyne & Wear</billing_state>
<billing_phone>08451232920</billing_phone>
<billing_email>[email protected]</billing_email>
<shipping_first_name>Adam</shipping_first_name>
<shipping_last_name>Wardle</shipping_last_name>
<shipping_company>Zynk Software Ltd</shipping_company>
<shipping_address_1>Nelson House</shipping_address_1>
<shipping_address_2 />
<shipping_city>Jesmond</shipping_city>
<shipping_postcode>NE2 3AE</shipping_postcode>
<shipping_country>GB</shipping_country>
<shipping_state>Tyne & Wear</shipping_state>
<woocommerce_api_consumer_key>ck_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</woocommerce_api_consumer_key>
<woocommerce_api_consumer_secret>cs_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</woocommerce_api_consumer_secret>
<woocommerce_api_key_permissions>read_write</woocommerce_api_key_permissions>
</customer_meta>
</customer>
</customers>
</CustomerList>