# API03006: Unsupported Method

## What This Means[​](#what-this-means "Direct link to What This Means")

The HTTP method used (GET, POST, PUT, DELETE, etc.) is not supported for this endpoint. The server doesn't accept this type of request for this URL.

## Common Causes[​](#common-causes "Direct link to Common Causes")

* **Version mismatch** — POS and plugin versions are incompatible
* **Endpoint removed** — An API endpoint was deprecated
* **Server configuration** — Web server blocking certain HTTP methods
* **Plugin conflict** — Another plugin modifying REST API behaviour

## How to Fix[​](#how-to-fix "Direct link to How to Fix")

### 1. Update Both Components[​](#1-update-both-components "Direct link to 1. Update Both Components")

Ensure compatibility:

* Update the WCPOS WordPress plugin
* Update the POS application
* Check release notes for breaking changes

### 2. Check Server Configuration[​](#2-check-server-configuration "Direct link to 2. Check Server Configuration")

Some servers block certain HTTP methods:

* Ensure PUT and DELETE methods are allowed
* Check `.htaccess` for method restrictions
* Review Nginx configuration

### 3. Verify REST API Access[​](#3-verify-rest-api-access "Direct link to 3. Verify REST API Access")

Test the WordPress REST API:

1. Visit `https://yoursite.com/wp-json/` in a browser
2. It should return JSON data
3. If not, the REST API may be disabled or blocked

### 4. Check for Plugin Conflicts[​](#4-check-for-plugin-conflicts "Direct link to 4. Check for Plugin Conflicts")

Disable other plugins temporarily:

* Security plugins may block methods
* Other REST API plugins may cause conflicts
* Re-enable one by one to find the issue

### 5. Review Hosting Restrictions[​](#5-review-hosting-restrictions "Direct link to 5. Review Hosting Restrictions")

Some hosts restrict HTTP methods:

* Contact hosting support
* Request they enable all standard methods
* Consider switching hosts if too restrictive

## Related Errors[​](#related-errors "Direct link to Related Errors")

* [API03001](/error-codes/API03001.md) — Invalid Request Format
* [API05004](/error-codes/API05004.md) — WordPress API Disabled
