Use AnyAPI’s REST API tester to retrieve WooCommerce orders directly from your WordPress dashboard. In this walkthrough, you will create read-only credentials, send a GET request, and inspect the JSON response.
The tester connects to your current website’s WooCommerce API. It is available on both Starter and Lite, so you can follow this guide without a paid license.
Time required: About 5 minutes
Request used: GET /wp-json/wc/v3/orders
Expected result: An HTTP response and a JSON order list
Before Using the REST API Tester
You will need:
- WordPress with WooCommerce installed and activated.
- AnyAPI installed and activated.
- Access to create WooCommerce REST API keys.
- An existing test order if you want a non-empty order response.
An empty store can still return a successful response. However, an existing test order makes it easier to inspect fields such as the order ID, status, and line items.
Step 1: Create Credentials for the REST API Tester
Go to WooCommerce → Settings → Advanced → REST API and click Add key.

Complete the key details:
| Field | Value |
|---|---|
| Description | AnyAPI Tester |
| User | A user with permission to read the orders you want to test |
| Permissions | Read |
Read permission is sufficient because this walkthrough retrieves data without creating or updating orders.

Click Generate API key, then save the Consumer Key and Consumer Secret securely. Copy the Secret before leaving the generated-key screen.
For authentication details, see the official WooCommerce REST API documentation.
Step 2: Open the REST API Tester
In your WordPress admin sidebar, go to AnyAPI → REST API.
On desktop, the interface has request controls on the left and a Response panel on the right. The request controls include Quick Pick buttons, the HTTP method, endpoint path, authentication, and Custom Headers.

Step 3: Select the Orders Endpoint
Click List Orders in the Quick Pick button row.
Confirm that the request uses:
- Method: GET
- Endpoint path:
/wp-json/wc/v3/orders
You can also select the method and enter the path manually. Keep the request set to GET for this walkthrough.

The website address belongs to your current store. Therefore, enter the WooCommerce endpoint path rather than the address of an external service.
You do not need a request body for this GET request.
Step 4: Set REST API Tester Authentication
Under Authentication, select WC Consumer Key/Secret.
Then enter:
- Consumer Key: The key generated in Step 1.
- Consumer Secret: Its matching secret.

The tester also offers None, Saved Key, and Bearer Token. However, this walkthrough uses WooCommerce Consumer credentials, so keep WC Consumer Key/Secret selected.
If you choose another method for a different test, it must match an authentication mechanism supported by your current site. Selecting Bearer Token alone does not enable Bearer authentication in WooCommerce.
Step 5: Send Your REST API Tester Request
Check the method, endpoint path, and credentials, then click Send Request.

The Response panel displays the result. For this order-list request, an HTTP 200 response normally means the request succeeded.

Inspect the JSON Response Body
Use Pretty to read formatted JSON. Alternatively, choose Raw to inspect the unformatted response.
Look for your test order and examine fields such as:
id— the order ID.status— the order status.billing— billing information.line_items— products included in the order.
If the body contains [], no orders matched the request. Check whether the store contains an order accessible with the selected credentials.
Check Headers and Request Timing
Open Headers to inspect the response headers. For collection requests, WooCommerce may provide X-WP-Total and X-WP-TotalPages to describe the result count and pagination.
The response panel also displays request timing in milliseconds. Use it as a measurement of this request rather than a complete assessment of your store’s performance.
Copy the Response
Use the copy control to copy the JSON response for further inspection.
Before sharing it with another person, remove any customer information or credentials that are not needed to explain the issue.
Step 6: Check REST API Tester Pagination
The List Orders endpoint returns a page of results rather than every order in one response.
For example, change the path to:
/wp-json/wc/v3/orders?per_page=25&page=1
This requests the first page with up to 25 orders. To request the next page, change page=1 to page=2.
After changing the path, send the request again and compare the returned orders. The pagination headers can help you determine whether more pages are available.
Common REST API Tester Errors
Read both the status code and the response message when troubleshooting.
| Result | What to check |
|---|---|
| 400 Bad Request | Check query parameters and values against the endpoint documentation |
| 401 Unauthorized | Confirm the authentication option and the complete Consumer Key/Secret pair |
| 403 Forbidden | Check Read permission, the associated user’s access, and security restrictions |
| 404 Not Found | Verify the endpoint path, resource ID where applicable, and permalink configuration |
| 500 Internal Server Error | Review the response and relevant server or PHP logs |
For this GET walkthrough, Read remains the appropriate key permission. A 403 response does not automatically mean you need Read/Write access.
If a request succeeds but returns no orders, inspect the response body and request filters before replacing the credentials.
For a broader explanation of endpoints and responses, read the WooCommerce REST API guide.
What to Do After Your REST API Tester Check
You have now tested a request to your current store’s WooCommerce API.
If your next goal is to send orders automatically to an external service, continue with the WooCommerce API Integration Setup guide. That workflow uses an order trigger and a separate destination endpoint.
These guides can also help:
- Order API Integration — Configure triggers and outgoing requests.
- JSON Filter Mode — Select fields or prepare a custom payload.
- API Logs & Troubleshooting — Investigate outgoing integration calls.
- Feature Comparison — Compare Starter and Lite.