https://github.com/balewgize/woocommerce-migrate
Python CLI tool that migrates orders and customers from WooCommerce to MongoDB. Upwork job: https://www.upwork.com/jobs/~01f23543001a91d474
https://github.com/balewgize/woocommerce-migrate
database mongodb python-script woocommerce
Last synced: 8 months ago
JSON representation
Python CLI tool that migrates orders and customers from WooCommerce to MongoDB. Upwork job: https://www.upwork.com/jobs/~01f23543001a91d474
- Host: GitHub
- URL: https://github.com/balewgize/woocommerce-migrate
- Owner: balewgize
- Created: 2022-06-25T18:22:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-08T18:01:58.000Z (over 3 years ago)
- Last Synced: 2025-02-23T20:29:40.669Z (about 1 year ago)
- Topics: database, mongodb, python-script, woocommerce
- Language: Python
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WooCommerce Python Script
A Python script with a CLI that gets all orders (parent and sub orders) and customers (only a specific role = seller) from WC API v3 and submits them to a MongoDB Database.
The script can be ran on a large store with more than 100K orders and 20K+ customers.
Developed with Python3 and using wc api v3 details:
https://woocommerce.github.io/woocommerce-rest-api-docs/
## Features
- Mutli-threaded (able to get 1000 records once)
- Has Command line interface
- Import records between specific dates
- Show progress of the process using tqdm library
- Import specific order ID or customer ID
## How to use
```
python migration.py --help
```
```
python migration.py orders --help
```
```
python migration.py customers --help
```