Note: We do not require WRITE permission READ is enough.
- To create and manage keys for a specific WordPress user, go to WooCommerce > Settings > Advanced => REST API> Keys/Apps.
2. Generating API keys.
Click the “Add Key” button. In the next screen, add a description and select the WordPress user you would like to generate the key for. Use of the REST API with the generated keys will confirm to that user’s WordPress roles and capabilities.
Choose the level of access for this REST API key, which can be Read access, Write access or Read/Write access. Then click the “Generate API Key” button and WooCommerce will generate REST API keys for the selected user.
Now that keys have been generated, you should see two new keys, a QRCode, and a Revoke API Key button.
If the WordPress user associated with an API key is deleted, the API key will cease to function. API keys are not transferred to other users.
Consumer Key and Consumer Secret will be used to configure our app and connect it with our Woocommerce.