WooCommerce Setup

Before you can integrate your WooCommerce shopping cart to StarShip, you will need to generate API keys in WooCommerce. These keys will give StarShip access to your Orders. These instructions apply to WooCommerce 3.4 and higher.

Customer Order Numbers Plugin

StarShip does not support the Customer Order Numbers for WooCommerce plugin.

Generate the API Keys for Legacy API

Use these steps to generate API keys in the WooCommerce Admin interface.

  1. Log in to the Admin section of your WordPress site (wp-admin) and click the WooCommerce > Settings menu item.
  2. Select the Advanced tab and choose the Legacy API sub-menu item.
    Select the Advanced tab and click Legacy API.
  3. For Legacy API, check the Enable the legacy REST API check box.
    Check the Enable the legacy REST API checkbox.
  4. Select Keys/Apps. Click the Add Key button.
  5. Enter a description to identify this key, for example, “StarShip”, and select the WordPress Admin user who will be the owner of this key.
  6. Choose the Read/Write level of access for this API key.
  7. Click the Generate API Key button and WooCommerce will generate the API keys for the selected user. You should see two new keys, a QRCode, and a Revoke Key link. The two keys are your Consumer Key and Consumer Secret. Please copy these keys to a document or other safe place. You will need to enter these keys when adding your company in StarShip.

 

What To Do Next

Your next step is to connect your WooCommerce store to StarShip. See StarShip Setup for more information.

Generate the API Keys for Rest API

WooCommerce announced that the Legacy REST API will be removed from WooCommerce as of version WooCommerce 9.0. However, they offer a separate WooCommerce extension that includes all the removed code for sites that still need it. For all practical purposes, having the new extension installed and activated in WooCommerce 9.0 and newer versions will be functionally equivalent to having the Legacy REST API enabled in WooCommerce 8.9 and older versions: nothing will change for clients of the API, and the same client keys will continue working.

We recommend you use the new Rest API if you have upgraded to WooCommerce 9.0 or a newer version.

Use these steps to generate Rest API keys in the WooCommerce Admin interface.

  1. Log in to the Admin section of your WordPress site (wp-admin) and click the WooCommerce > Settingsmenu item.
  2. Select the Advanced tab and choose the REST API sub-menu item.
  3. Click Add Key or Create an API key.
  4. Enter a description to identify this key, for example, “StarShip”, and select the WordPress Admin user who will be the owner of this key. Choose the Read/Write level of access for this API key.
  5. Click the Generate API Key button and WooCommerce will generate the API keys for the selected user. You should see two new keys, a QRCode, and a Revoke Key link. The two keys are your Consumer Key and Consumer Secret. Please copy these keys to a document or other safe place. You will need to enter these keys when adding your company in StarShip.