If you just need to store multiple 'woocommerce_api_consumer_key' values, then add_user_meta() can actually handle duplicate rows with the same meta_key. Just make sure $unique is false (it is by default) and a new row will be created for each 'woocommerce_api_consumer_key'.maxrice Finished up the API wrapper library https://github.com/kloon/WooCommerce-REST-API-Client-Library.