---
title: WooCommerce API Integration Setup — Send Your First Test Order
description: "This WooCommerce API integration setup guide shows you how to send a test order from your store to [webhook.site](https://webhook.site/) using AnyAPI. By the end, you will be able to inspect the incoming order data and check the result in your…"
url: "https://anyapiplugin.com/docs/woocommerce-api-integration-setup/"
updated: "2026-10-26"
category: Getting Started
---

# WooCommerce API Integration Setup — Send Your First Test Order

This WooCommerce API integration setup guide shows you how to send a test order from your store to [webhook.site](https://webhook.site/) using AnyAPI. By the end, you will be able to inspect the incoming order data and check the result in your API logs.

No coding is required, and the free Starter plan supports this walkthrough. Although webhook.site does not require authentication, you will create a dummy API Key entry in AnyAPI and select it for the test integration.

## Before Your WooCommerce API Integration Setup

Allow about five minutes if WordPress, WooCommerce, and AnyAPI are already installed and activated. Before starting, make sure you have:

- Access to your WordPress admin and the AnyAPI settings.
- A product you can add to a test order.
- A separate browser tab for webhook.site.
- Dummy billing details, such as a test name and an email address you control.

For this walkthrough, use test data rather than real customer details. Basic mode sends the full order data, so review what you are sending to the temporary endpoint.

## Step 1: Get a Test Endpoint

First, open [webhook.site](https://webhook.site/) and copy the unique URL displayed on the page. It will look similar to `https://webhook.site/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`.

[![webhook.site test URL for WooCommerce API integration setup](https://anyapiplugin.com/wp-content/uploads/2026/05/WooCommerce-API-Integration-Setup-Step-1.png)](https://anyapiplugin.com/wp-content/uploads/2026/05/WooCommerce-API-Integration-Setup-Step-1.png)

Keep this tab open so you can inspect the request after creating your test order. You will paste the URL into AnyAPI in the next step.

## Step 2: Complete the WooCommerce API Integration Setup

Although webhook.site does not require authentication, AnyAPI still requires an API Key entry for this setup. Before opening the integration wizard, create a dummy Bearer Token key:

1. Go to **AnyAPI → API Keys** and click **+ New API Key**.
2. Set **Name** to `No auth` and **Type** to **Bearer Token**.
3. Enter any dummy value, such as `test-token`, in the **Token** field.
4. Click **Save**.

After saving the dummy key, go to **AnyAPI → Order API**. Then click **+ New Integration** to open the setup wizard.

[![AnyAPI Order API page with the New Integration button](https://anyapiplugin.com/wp-content/uploads/2026/05/WooCommerce-API-Integration-Setup-Step-3.1-1024x68.png)](https://anyapiplugin.com/wp-content/uploads/2026/05/WooCommerce-API-Integration-Setup-Step-3.1.png)

### Configure the Endpoint and Authentication

Enter the following details for your test integration:

- **Integration Name:** `Webhook Test`
- **API URL:** Paste the unique webhook.site URL from Step 1.
- **API Key:** Select the dummy **No auth (Bearer)** key you created above.

The dummy token satisfies AnyAPI’s API Key requirement; it is not a credential issued by webhook.site. For a real service that requires authentication, replace the dummy key with the credentials that service expects. See [API Key Management](https://anyapiplugin.com/docs/api-key-management/) for details.

[![AnyAPI webhook.site test integration with the dummy No auth Bearer key selected](https://anyapiplugin.com/wp-content/uploads/2026/05/anyapi-test-integration-with-a-webhook-1024x396.png)](https://anyapiplugin.com/wp-content/uploads/2026/05/anyapi-test-integration-with-a-webhook.png)

Once the destination details are correct, continue to the trigger step.

### Choose the Order Trigger and Basic Mode

Select **New Order** for this walkthrough. AnyAPI triggers according to the order status. In the test below, creating an order with **Pending Payment** status triggers the integration.

[![New Order trigger selected for the WooCommerce API integration](https://anyapiplugin.com/wp-content/uploads/2026/05/anyapi-new-order-trigger-selected-for-the-woocommerce-integration-1024x484.png)](https://anyapiplugin.com/wp-content/uploads/2026/05/anyapi-new-order-trigger-selected-for-the-woocommerce-integration.png)

Next, continue to the JSON Filter step and select **Basic**. This mode sends the full order data without requiring you to select individual fields. The JSON preview appears **below** the configuration.

[![Basic mode sending full WooCommerce order data with the JSON preview](https://anyapiplugin.com/wp-content/uploads/2026/05/anyapi-basic-mode-sending-full-WooCommerce-order-data-preview-1024x564.png)](https://anyapiplugin.com/wp-content/uploads/2026/05/anyapi-basic-mode-sending-full-WooCommerce-order-data-preview.png)

Before saving, review the integration summary. Confirm the endpoint, **New Order** trigger, and **Basic** mode, then finish saving the integration.

[![AnyAPI integration summary with the No auth key, New Order trigger, and Basic mode](https://anyapiplugin.com/wp-content/uploads/2026/05/anyapi-integration-summary.png)](https://anyapiplugin.com/wp-content/uploads/2026/05/anyapi-integration-summary.png)

Finally, return to the Order API list and confirm that the integration is active. For a detailed explanation of the wizard, see [Order API Integration](https://anyapiplugin.com/docs/order-api-integration/).

## Step 3: Send a Test WooCommerce Order

After saving the integration, create a fresh test order in your WordPress admin:

1. Go to **WooCommerce → Orders → Add Order**.
2. Add a product and enter your dummy billing details.
3. Set the order status to **Pending Payment**.
4. Click **Create** to save the new order.

In this test, clicking **Create** saves the order with **Pending Payment** status and triggers the integration. You do not need to switch the order to another status afterward. Then open webhook.site and inspect the incoming POST request and its order JSON.

[![webhook.site displaying a POST request containing WooCommerce test order data](https://anyapiplugin.com/wp-content/uploads/2026/05/WooCommerce-API-Integration-Setup-Step-4-1024x451.png)](https://anyapiplugin.com/wp-content/uploads/2026/05/WooCommerce-API-Integration-Setup-Step-4.png)

For example, compare the received order ID, status, and total with the order you just created. If those details match, the request contains data from your test order.

This confirms delivery to the test endpoint. However, a real destination may require a different payload or additional authentication, so it needs its own test before you rely on it for live orders.

## Step 4: Check the Request in AnyAPI Logs

Next, open **AnyAPI → API Logs** and find the request from your test. Use the order ID and time to distinguish it from other calls.

Review the following details together:

- **Status:** The HTTP response code returned by the receiving service.
- **Endpoint:** The destination used for the request.
- **Trigger:** The order event associated with the call.
- **Latency and time:** How long the request took and when it was sent.

[![AnyAPI log entry for a successful WooCommerce test order request](https://anyapiplugin.com/wp-content/uploads/2026/05/anyapi-log-entry-for-a-successful-WooCommerce-test-order-request-1024x116.png)](https://anyapiplugin.com/wp-content/uploads/2026/05/anyapi-log-entry-for-a-successful-WooCommerce-test-order-request.png)

A successful HTTP response, together with the matching request on webhook.site, helps confirm that this WooCommerce API integration setup is working. If the result is unexpected, use the troubleshooting checks below.

Starter shows the latest 10 API calls. In contrast, Lite provides full history with search, filtering, and statistics. See [API Logs & Troubleshooting](https://anyapiplugin.com/docs/api-logs-troubleshooting/) for more detail.

## Troubleshoot Your WooCommerce API Integration Setup

### No Request Appears on webhook.site

Start with these checks before creating another test order:

- **Integration status:** Confirm the integration is active in AnyAPI → Order API.
- **Destination URL:** Make sure it matches the webhook.site tab you are watching.
- **Order status:** Confirm that **New Order** is selected in the integration. For this test, create an order with **Pending Payment** status and click **Create**. No further status change is needed.
- **API log:** Look for a request at the time of your test. If an entry exists, inspect its status and response before changing the configuration.

If no entry appears, recheck the saved integration, selected trigger, and order status. If an entry shows a failure, investigate the recorded result.

### The API Log Shows an Error

An HTTP status code is a starting point, so read it alongside the response message and the destination’s documentation.

- **400 Bad Request:** Check the payload format and required fields. Valid JSON can still fail a destination’s validation rules.
- **401 or 403:** Review the authentication and permissions required by the destination.
- **404 Not Found:** Verify the endpoint path and any resource identifiers.
- **405 Method Not Allowed:** Confirm that the destination accepts the request method being used.
- **429 Too Many Requests:** Check the receiving service’s rate limits and retry guidance.
- **5xx errors:** Inspect the response and the receiving service’s status. The code alone does not establish the exact cause.

For connection failures or other unexpected results, continue with the [API Logs & Troubleshooting guide](https://anyapiplugin.com/docs/api-logs-troubleshooting/).

## Next Steps After Your WooCommerce API Integration Setup

Once the test succeeds, you can prepare an integration for your real destination. Before switching, check its endpoint URL, authentication, request method, required fields, and expected JSON structure.

You may need to change more than the URL. For example, a CRM or messaging API may expect a specific payload rather than the full WooCommerce order object.

After making those changes, run a separate test and confirm that the destination performs the intended action. When you finish testing, disable the webhook.site integration if you are no longer using it.

- [Order API Integration](https://anyapiplugin.com/docs/order-api-integration/) — Review the full integration workflow.
- [API Key Management](https://anyapiplugin.com/docs/api-key-management/) — Configure credentials for an authenticated destination.
- [JSON Filter Mode](https://anyapiplugin.com/docs/json-filter-mode/) — Explore payload customization on Lite.
- [REST API Tester Quick Start](https://anyapiplugin.com/docs/quick-start-rest-api-tester/) — Test requests to your WooCommerce REST API from WordPress. This is a separate workflow from sending order data to an external endpoint.

Need help? Visit the [AnyAPI support forum](https://wordpress.org/support/plugin/anyapi/) or [contact us](https://anyapiplugin.com/contact/).

## Frequently Asked Questions

### WooCommerce API Integration Setup FAQ

- How do I move from the webhook.site test to sending orders to a real API?

  Review the destination’s documentation before changing your integration. Update the endpoint and configure any required authentication, request method, and payload structure. You should also confirm that the order trigger matches your workflow. Finally, run a separate test and check that the receiving service performs the intended action; delivery to webhook.site alone does not verify the production integration.
- Can I set up a full WooCommerce API integration on the free Starter plan?

  Yes. Starter supports the webhook.site walkthrough in this guide, including the New Order trigger and sending full order data in Basic mode. It also shows the latest 10 API calls. If your destination requires more control over the JSON payload or you need deeper log history, review the Lite features before choosing your setup.
- How can I test a WooCommerce API integration before connecting a real endpoint?

  First, copy your unique webhook.site URL into an AnyAPI integration. Choose New Order and Basic mode, save the integration, and confirm it is active. Then create a WooCommerce order with Pending Payment status and dummy billing details, and click Create. Because triggering follows the order status, this test does not require another status change after creation. Finally, compare the received request with your test order and check the corresponding API log entry.
- Do I need an API key to connect to an endpoint that has no authentication?

  Yes. Although webhook.site does not require authentication, AnyAPI still requires an API Key entry for this setup. Create a dummy Bearer Token key with any test value, such as test-token, then select that key in the integration. In this guide, the key is named No auth. The dummy value is not a credential issued by webhook.site. For a real authenticated API, use the credentials required by that service instead.
- How long does it take to set up a WooCommerce API integration with AnyAPI?

  Allow about five minutes for this basic test if WordPress, WooCommerce, and AnyAPI are already installed and activated. You will connect a webhook.site URL, choose New Order and Basic mode, save the integration, and create a test order. A production integration may take longer because its authentication, payload, and destination behavior need separate testing.
