It's required to turn on the WordPress permalink on Settings > Permalinks
Settings > Permalinks
Visit WooCommerce > Settings > Advanced > REST API tab and tick the Enable REST API Checkbox
WooCommerce > Settings > Advanced > REST API
Visit WooCommerce > Settings > Advanced > Legacy API tab and tick the Enable Legacy REST API Checkbox
WooCommerce > Settings > Advanced > Legacy API
Go to API WooCommerce > Settings > Advanced > REST API > Keys/Apps > Add Key
WooCommerce > Settings > Advanced > REST API > Keys/Apps > Add Key
Select the user in user field and add a description. Choose level of access Read/Write. then select the button Generate API Key.
Now you should see two new keys, These two keys are your Consumer Key and Consumer Secret
Use these ConsumerKey and ConsumerSecrete when you build mobile app
Last updated 4 years ago