Configuring Your WooCommerce Store and Generating API Keys (version 2.x)

Created: - Updated:

This article will teach you how to prepare your WooCommerce products, configure your WooCommerce store and generate the API keys needed to connect it with your Sellbrite account.

Before beginning, please confirm you are using WooCommerce version 2.4.x to 2.9.x. We do NOT support version 3.0 or above.

Preparing your WooCommerce products

Before connecting your WooCommerce store and importing your products into Sellbrite, please verify that your products are set up properly to work with Sellbrite.

Visibility - Make sure your products are Published and have the Visibility set to Public. These are the only ones that will be accessed by Sellbrite.

SKUs - While SKUs are not required on your WooCommerce products in Sellbrite, we recommend that you use them, especially for products with variations.  Add SKUs to your products in WooCommerce before importing them into Sellbrite.  (To learn more about why you should use SKUs, read this)

Manage Stock - Confirm that the Manage Stock setting is enabled on all your products, including on the variation level if your products have variations.  This will allow Sellbrite to sync your inventory with the products in your store.
Manage Stock

(BACK TO TOP)

Configuring your Store (enabling the REST API)

The instructions below are based on the WooCommerce layout introduced in version 2.4.  Sellbrite does not support WooCommerce versions prior to 2.4.

To enable the REST API within your WooCommerce store admin, visit the WooCommerce > Settings > API tab and check the Enable REST API checkbox.  Don't forget to save changes.

Enable API

To verify that you are using the correct Permalink settings, visit Settings > Permalinks (this is on the Wordpress settings page, not the WooCommerce settings)

Use any option EXCEPT for the Default permalink option.

Permalinks

Create a new user with an Administrator role.

New User

(BACK TO TOP)

Generating your API Keys

The WooCommerce REST API works on a key system to control access.  Once you generate your API keys, you will need to copy and paste these keys into the WooCommerce settings page in Sellbrite.

Visit the WooCommerce > Settings > API tab and click Keys/Apps.

Then click Add Key.

Add Key

Enter a description and choose the user you created in the steps above.  Then set permissions to Read/Write.

Add Key

Click the Generate API Key button, and your Consumer Key and Consumer Secret will be created.

Copy Keys

Keep this window open -- you won't be able to access the key again if you navigate away or close the window.   

In a new window, login to your Sellbrite account and visit Settings > Sales Channel Integrations > WooCommerce.   Copy and paste the Consumer Key and Consumer Secret into the fields on this page.  

Then enter your store URL, and click the Connect your account button.

(BACK TO TOP)

Setting script execution time

Please contact your system administrator if you need help with this.

While it's not required, increasing the maximum time a script is allowed to run on your server before it is terminated is recommended, especially if you have products will a lot of variations (more than 20 or so).

To do this, you will need to change the max_execution_time setting in your php.ini file on your server. The default is 30 seconds. You should change it to 60 or 120 seconds to allow for ample time for your server to process the calls from Sellbrite.

More information is available here.

(BACK TO TOP)

Was this article helpful?
0 out of 0 found this helpful

Comments