Thank-you for this tutorial. I am getting an unknown error while retrieving customer details. I am also following this tutorial https://www.cloudways.com/blog/custom-dashboard-using-woocommerce-php-rest-api/ but I am stuck and not finding a way to resolve this issue.