

Requests with a message-body use plain JSON to set or update resource attributes. Please note that you are not required to install the WP REST API (WP API) plugin. If you use ModSecurity and see 501 Method Not Implemented errors, see this issue for details. You may access the API over either HTTP or HTTPS, but HTTPS is recommended where possible.Pretty s in Settings > s so that the custom endpoints are supported.To use the latest version of the REST API you must be using: You can find the documentation for the legacy API separately. Prior to 2.6, WooCommerce had a REST API separate from WordPress which is now known as the legacy API. The following table shows API versions present in each major version of WooCommerce: API Version The current WP REST API integration version is v3 which takes a first-order position in endpoints.

This allows WC data to be created, read, updated, and deleted using requests in JSON format and using WordPress REST API Authentication methods and standard HTTP verbs which are understood by most HTTP clients. WooCommerce (WC) 2.6+ is fully integrated with the WordPress REST API.
