Help Center

Import: WooCommerce - Importing products from WooCommerce

Sarah Bacchus
Sarah Bacchus
  • Updated

Our integration provides seamless product imports allowing you to manage your product data on WooCommerce while we automatically retrieve the latest changes on a daily basis.

Import products from WooCommerce

  1. Login to your WooCommerce
  2. Generate API keys in WooCommerce

    Generating WooCommerce API keys

    Learn how to generate keys and enable REST API using WooCommerce REST API documentation
  3. In GoDataFeed > Products > Import Source drop-down, select WooCommerce
  4. Enter the following information:
    1. API path:  The secure URL of your WooCommerce store's API location; use HTTPS.
    2. Consumer Key: The unique value that identifies your WooCommerce store's API.
    3. Secret Key: The secret key used to access your WooCommerce store's API
  5. Select the version from the drop-down menu

    The latest WP REST API integration version is Version 3 (v3). Prior to 2.6, WooCommerce has had a REST API separate from WordPress which is now known as the legacy API. You can find the documentation for the legacy API separately. The following table shows API versions present in each major version of WooCommerce:

    API Version WC Version WP Version Documentation
    v3 (current) 3.5.x or later 4.4 or later v3 docs
    v2 3.0.x or later 4.4 or later v2 docs
    v1 2.6.x or later 4.4 or later v1 docs
    Legacy v3 2.4.x or later 4.1 or later Legacy v3 docs
    Legacy v2 2.2.x or later 4.1 or later Legacy v2 docs
    Legacy v1 2.1.x or later 4.1 or later Legacy v1 docs

    Learn more about WooCommerce API

  6. Typically, you can skip the other options in the import settings in GoDataFeed, however please review them in case they are relevant for your import needs
  7. Save -- now you may import your products

 

Troubleshooting WooCommerce imports

1. Error message: The remote server returned an error: (500) Internal Server Error.

Fix: Try reducing the batch count:

  1. Log into GoDataFeed
  2. Go to Import Primary source
  3. Reduce the Batch Count
  4. Save and IMPORT

 

2. Error message: The server returned a 403 "Forbidden" error. Please verify that access to your source location has been granted, then try again.

Fix: First, try these:

  1. White-list GoDataFeed IP addresses and try to import again
  2. Create a new WooCommerce API consumer key and secret key and try to import again
  3. Remove the 's' from 'https' in the API Path and try to import again


If the issue persists, then contact your WooCommerce developer to review what is mentioned in the article below and make any modifications necessary at their discretion.

https://wordpress.org/support/topic/403-forbidden-with-woocommerce-rest-api-v2

3. Error message: The remote server returned an error: (401) Unauthorized.

Fix:

  1. Check the base URL in GDF under Import Primary Source
  2. If the URL has "/shop" at the end, it can cause a redirect. Please remove this.
    • Incorrect base URL: http://mystore.co.id/shop
    • Correct base URL: http://mystore.co.id/
  3. Save and IMPORT

4. Error message: The WooCommerce API is disabled on this site.

Fix:

  1. From your store's WordPress admin, go to WooCommerce > Settings > Advanced > Legacy API and
  2. Check the option for enabling it
  3. Save changes
  4. In GoDataFeed, click IMPORT

https://docs.woocommerce.com/document/woocommerce-rest-api/#section-4

 

 

Was this article helpful?

6 out of 8 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.