Important:
There are two authorization methods:
Method 1: WooCommerce REST API Authorization
— No plugin download required. Requires WooCommerce version 8.0 or above.
Method 2: WooCommerce Plugin Authorization
— Requires downloading a plugin. Only applicable for WooCommerce versions below 8.0.
(Note: Plugin authorization is no longer supported for new stores. REST API authorization is recommended.)
To check your WooCommerce version: Go to WooCommerce Admin → Status → System Status.
Operation Guide:
Method 1: WooCommerce REST API Authorization (Recommended)
This is the recommended method for WooCommerce version 8.0 and above.
Step 1: Find Your Site URL
1. Log in to your WooCommerce admin.
2. Go to WooCommerce → Status → System Status.
3. Locate and copy your Site URL (the address of your store).
Step 2: Generate API Keys
1. In the WooCommerce admin, go to WooCommerce → Settings → Advanced → REST API.
Click Add key.
2. Set a Description (e.g., "Dianxiaomi").
3. Select a User with Administrator or Shop Manager permissions.
4. Set Permissions to Read/Write.
5. Click Generate API key.
6. Copy and save both the Consumer Key and Consumer Secret. The Consumer Secret is shown only once — save it immediately.


Step 3: Authorize in Dianxiaomi
1. Log in to your Dianxiaomi main account.
2. Click your Username → Platform Authorization.
3. Click More Platforms → WooCommerce → Add Authorization.
4. Select WooCommerce (REST API Authorization) as the version.
5. Fill in the Site URL, Consumer Key, and Consumer Secret.
6. Click Authorize.

Method 2: WooCommerce Plugin Authorization(For Stores Below Version 8.0)
Note: This method is only for WooCommerce versions below 8.0.
New stores no longer support plugin authorization — please use Method 1 (REST API) instead.
Step 1: Download the Plugin
Download the Dianxiaomi WooCommerce plugin from the link provided by your supplier.
Click here to download the plugin>>
Step 2: Install the Plugin
1. Log in to your WooCommerce admin.
2. Go to Plugins → Add New → Upload Plugin.
3. Upload the plugin file and complete the installation.
Note: The default WooCommerce backend uses its own tracking number function.
Before using Dianxiaomi, you must install the Dianxiaomi order plugin for WooCommerce to complete the authorization.

According to the screenshot above, if the plugin cannot be found, please refer to the following settings:

Step 3: Configure Shipping Methods in WordPress
1. Go to the WordPress admin and switch to Classic Mode (if applicable).
2. In the left-hand menu, find Settings → Dianxiaomi and click to enter.
3. Add the shipping methods you need. These shipping methods will be available when selecting a shipping method
for order fulfillment and will be displayed on the buyer's order details page.
Note: 1. The tracking URL cannot be entered arbitrarily. You can use:t.17track.net/en#nums
2. After successful installation, go to any order in WooCommerce.
If you see "Dianxiaomi" in the top-right corner, the plugin is installed correctly.


Step 4: Get Your API Key
1. In the WordPress admin, go to Users → Your Profile (My Profile).
2. Scroll down and locate Dianxiaomi's WordPress API Key.
3. Copy the key.

Note: If you cannot see "Dianxiaomi's WordPress API Key", please refer to the screenshots in the original documentation



Note:Before authorization, confirm that your Permalinks setting is set to Date and Name (or Post name).

Step 5: Authorize in Dianxiaomi
1. Log in to your Dianxiaomi main account.
2. Click your Username → Platform Authorization.
3. Click More Platforms → WooCommerce → Add Authorization.
4. Select WooCommerce (Plugin Authorization) as the version.
5. Fill in the Site URL and API Key.
6. Click Authorize.

After Successful Authorization
Once authorized, the store will appear in your Dianxiaomi account. From there, your supplier can process orders on your behalf.