Hi @vidyback
I understand that you want to create a WooCommerce store for testing purposes.
You can duplicate your existing site to a staging environment and performing tests without modifying your live site or impacting customers. Many hosting providers offer site staging facilities, but if you don’t have such a feature, you can create one with the WP Staging plugin.
The documentation here goes over how to properly work with the API and how to test it: https://github.com/woocommerce/woocommerce/wiki/Getting-started-with-the-REST-API