Title: API key usage for Customer type users
Last modified: March 15, 2017

---

# API key usage for Customer type users

 *  [rui.rocha](https://wordpress.org/support/users/ruirocha/)
 * (@ruirocha)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/api-key-usage-for-customer-type-users/)
 * This may be a dumb question but should a “Customer” type user be able to create
   a product?
 * I’m logged in with a customer, if I make an API call with a key that has write
   access (I only have one, admin) which would be the best option to control this?
   Do I forcibly need to verify if the user logged in is an admin or should I generate
   a new, read only permission, consumer_key each time a customer user is created,
   so I can relate the API usage with its consumer key and secret?

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Claudiu Lodromanean](https://wordpress.org/support/users/claudiulodro/)
 * (@claudiulodro)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/api-key-usage-for-customer-type-users/#post-8918457)
 * Ideally, each user that needs to access the API would have their own API key 
   with the appropriate permissions. If you have a logged-in user that needs to 
   access the API, they should do so using an API key for their user. That’s why
   there’s a User field when making an API key! 🙂
 * Why does every single customer need API access, though?

Viewing 1 replies (of 1 total)

The topic ‘API key usage for Customer type users’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Claudiu Lodromanean](https://wordpress.org/support/users/claudiulodro/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/api-key-usage-for-customer-type-users/#post-8918457)
 * Status: not resolved