Skip to content

Commit 668ef8f

Browse files
Merge pull request #42 from douglsmith/patch-1
Fix typo and clean up key generation instructions
2 parents e57c434 + ee5da52 commit 668ef8f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

source/includes/wp-api-v1/_authentication.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
# Authentication #
22

3-
WooCommerce includes two ways to authenticate with the WP REST API. In addition, it is possible to use any [WP REST API authentication](http://v2.wp-api.org/guide/authentication/) plugin or method too.
3+
WooCommerce includes two ways to authenticate with the WP REST API. It is also possible to authenticate using any [WP REST API authentication](http://v2.wp-api.org/guide/authentication/) plugin or method.
44

55
## REST API keys ##
66

7-
To be unable to authenticate to any endpoint of our REST API you must generate a REST API keys, currently you can generate new REST API keys by the WordPress admin interface or by an endpoint to auto generate.
7+
Pre-generated keys can be used to authenticate use of the REST API endpoints. New keys can be generated either through the WordPress admin interface or they can be auto-generated through an endpoint.
88

99
### Generating API keys in the WordPress admin interface ###
1010

1111
To create or manage keys for a specific WordPress user, go to WooCommerce > Settings > API > Keys/Apps.
1212

1313
![WooCommerce REST API keys settings](images/woocommerce-api-keys-settings.png)
1414

15-
Click in the "Add Key" button and in the next screen select the User you would like to generate a key for in the User field and add a Description. Choose the level of access for this REST API key, which can be Read access, Write access or Read/Write access. Then select the Generate API Key button and WooCommerce will generate REST API keys for that user.
15+
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 conform to that user's WordPress roles and capabilities.
16+
17+
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.
1618

1719
![Creating a new REST API key](images/woocommerce-creating-api-keys.png)
1820

0 commit comments

Comments
 (0)