The stable version of this package is bundled with [WooCommerce core](https://github.com/woocommerce/woocommerce) releases, but it can also be used as a standalone plugin so bleeding-edge API features can be tested or used by other feature plugins.
Since multiple versions of this package may be included at the same time, WooCommerce handles loading __only the latest version__ by using a special loader.
After including the package and installing dependencies, include the main `woocommerce-rest-api.php` file in your code:
```php
include 'vendor/woocommerce-rest-api/woocommerce-rest-api.php';
```
This will register the version of the package with WooCommerce and make it available after the `woocommerce_loaded` hook is fired.
Please read the [WooCommerce contributor guidelines](https://github.com/woocommerce/woocommerce/blob/master/.github/CONTRIBUTING.md) for more information how you can contribute to WooCommerce, and [the REST API contribution documentation here](https://github.com/woocommerce/woocommerce/wiki/Contributing-to-the-WooCommerce-REST-API).
Within this package, namespaces and endpoint classes are located within the `src/RestAPI/` directory. If you need to change the behavior of an endpoint, you can do so in these classes.