How to Automate WooCommerce Quantity and Order Sync via API Integration

How to Automate WooCommerce Quantity and Order Sync via API Integration

To create or manage keys for a specific WooCommerce user:

PART-1
  1. Go to: WooCommerce > Settings > Advanced > REST API.
  2. Select Create an API key OR Add Key. You’ll be taken to the Key Details screen. 
  3. Add a Description.
  4. Select the User you would like to generate a key for in the dropdown.
  5. Select a level of access for this API key:
    • Give Read/Write access.
  6. Click Generate API Key, and WooCommerce creates API keys for that user. 
  7. 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.
  8.  Just copy the Consumer key and save that locally too.
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. 
​Note: Do NOT add 'https:// or http:'.
    Part 3: Order Sync API Integration
    1. After becoming Baapstore client, write to 'support@baapstore.com' with subject line 'Need WooCommerce Code for Order Sync' and enter the same in body and send.

    After you receive the code/script, follow the below steps:
    2. Open your Woocommerce Store Account
    3. Go to Appearance > Theme File Editor
    3. Open the functions.php file of your active theme
    4. Paste the code/script you received from Baapstore support at the top of this file.

    Note: Do NOT delete your existing code lines that you will see in functions.php file

      • 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 ...