ThoughtMetric

Store APIs

Connect the WooCommerce API

Connect the WooCommerce API to track returns, refunds and order details.

Connecting the WooCommerce back-end integration enables tracking of returns, refunds, voided payments, and draft orders. It also double-checks our data, so you can be sure the ThoughtMetric data is accurate.

  1. Log in to the WordPress admin page.

  2. Open the REST API settings

    Go to WooCommerce → Settings → Advanced → REST API.

    Connect the WooCommerce API screenshot 1
  3. Add a key

    Select Add Key. You are taken to the Key Details screen.

    Connect the WooCommerce API screenshot 2
  4. In the description box, enter "ThoughtMetric".

  5. In the user selection box, select your user account.

  6. In the Permissions box, select Read access.

  7. Generate the API key

    Select Generate API Key. You should see the Consumer Key and Consumer Secret keys.

    Connect the WooCommerce API screenshot 3
  8. Open the WooCommerce API connection in ThoughtMetric

    In ThoughtMetric, navigate to the Integrations page and scroll down to the WooCommerce API Connection section.

    Connect the WooCommerce API screenshot 4
  9. Enter the Consumer Key and Consumer Secret that you generated earlier.

  10. Enter the domain name of your store.

  11. Click Connect WooCommerce.

You might also need to allowlist the following IP addresses in any firewalls or Cloudflare installations you have: 34.150.141.41 and 35.245.88.190.