How to Automate WooCommerce Quantity and Order Sync via API Integration
To create or manage keys for a specific WooCommerce user:
PART-1
- Go to: WooCommerce > Settings > Advanced > REST API.
- Select Create an API key OR Add Key. You’ll be taken to the Key Details screen.

- Add a Description.
- Select the User you would like to generate a key for in the dropdown.
Select a level of access for this API key:
- Select Generate API Key, and WooCommerce creates API keys for that user.

- Now that keys have been generated, you should see Consumer Key and Consumer Secret keys, a QR Code, and a “Revoke Key” link in red text.
- Just copy the Consumer key and save that locally too.

PART-2
Part 2: Configuring Your Keys in Baapstore
Step 1: Visit your Baapstore's 'My Account' page.
Step 2: Click 'Quantity Sync Config' tab.
Step 3: Choose 'WooCommerce ' from the dropdown menu.
Step 4: Paste the Consumer key and your store name is your domain name (www.yourdomainname.com) to the respective fields, as in below boxes and click on 'Submit' button. 
PART-3
WooCommerce Code Update for Order Sync
Kindly follow these steps:
- Go to Appearance > Theme File Editor
- Open the functions.php file of your active theme
- Ask the support team to get clear guidance before adding the order sync script in your functions.php.
Related Articles
How to Automate Shopify Quantity and Order Sync via API Integration
Prior Requirements: 1. You need to have any active plan with Baapstore which you can look at https://www.baapstore.com/pricing. 2. You must have working and active Shopify store. Part 1: Generating Your Shopify Shop's API Token: 1. Visit your Shopify ...
How to Generate API Keys in Opencart for Auto-Order Placement
If you are Diamond Plan member and have active website in our servers, you can just ignore this and sip a coffee, we'll take care of everything for you. This tutorial is only if you are managing your own Opencart site. - - - Prior Requirements: 1. ...
How Automatic Order Placements work with Baapstore?
If you are getting an order in the website we build for you and if you are in a plan that supports automatic order placements, all the orders placed on your website will be automatically pushed to our portal. You need to maintain a minimum order ...
How to Upload & Update Stocks on WooCommerce
How to Upload & Update Stocks on WooCommerce We have made the uploading of the products and updating stock-outs on WooCommerce a breeze. Just follow the below steps: Log on to your reseller panel at reseller.baapstore.com and click on the 'Smart ...
Common Reasons for Order Failures
Check if any RTO fees is not cleared, if so clear it and place order. If your order has multiple products, check if all of those are our products only and if all those has available quantity with us. Your Selling Price must be equal or higher than ...