WooCommerce Integration

Last modified: Juli 1, 2025

WooCommerce

To integrate Trustvoice with a store running on WooCommerce, API credentials must be generated manually from the WordPress admin interface.


What Trustvoice needs

  • Consumer Key – typically starts with ck_
  • Consumer Secret – typically starts with cs_
  • Site domain – the public domain where the store is hosted
  • Access level – must be set to Read

Purpose of the Integration

The WooCommerce integration is used by Trustvoice to retrieve order data via the WooCommerce REST API.


How to get the API Credentials

To generate the API keys:

  1. Log in to the WordPress Admin Panel.
  2. Go to WooCommerce > Settings > Advanced > REST API.
  3. Click Add Key.
  4. Add a description (e.g. Trustvoice Integration), select a user, and set Permissions to Read.
  5. Click Generate API Key.
  6. Copy the Consumer Key and Consumer Secret. They will only be shown once.

Example usage:

GET https://yourstore.com/wp-json/wc/v3/orders
Authentication: Basic base64(ck_xxxxx:cs_xxxxx)

📄 See WooCommerce documentation for step-by-step instructions


Important

⚠️ Never share API keys or secrets in unencrypted emails or open chats.
Always use a secure transfer method such as encrypted email or a password manager.