A WooCommerce API wrapper to serve an API that only offers customer features (browsing products and creating orders).
-
PHP 5.2.x
-
cURL
-
Wordpress Plugins:
-
WooCommerce >= 2.2 (https://wordpress.org/plugins/woocommerce/)
-
WP REST API (https://wordpress.org/plugins/json-rest-api/)
Activate the WooCommerce API and generate API credentials under WP Admin > Your Profile. Paste those credentials into WooCommerce > Settings > WooCommerce Customer REST API.
-
GET
/wcc-api
- index of the API -
GET
/wcc-api/products
- get a list of products -
GET
/wcc-api/products/<id>
- get a single product
more to come soon...
This plugin uses the kloon's WooCommerce API PHP wrapper
Released under the GPL3 license