WooCommerce REST API is fully integrated with the WordPress REST API since WC version 2.6+, 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…
WooCommerce (WC) 2.6+ is fully integrated with the WordPress REST API. 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.
Requirements: It’s required turn on the WordPress permalinks on Settings > Permalinks.
WooCommerce REST API Documentation
Prior to 2.6, WooCommerce had it’s own REST API separate from WordPress which is now known as the legacy API. You can find the documentation for the legacy API separately.
- Legacy v3 (WC 2.4.x or later / WP 4.1 or later): Legacy v3 documentation
- Legacy v2 (WC 2.2.x or later / WP 4.1 or later): Legacy v2 documentation
- Legacy v1 (WC 2.1.x or later / WP 4.1 or later): Legacy v1 documentation
The default response format is json. Requests with a message-body use plain json to set or update resource attributes. Successful requests will return a 200 OK HTTP status...