phpwoocommercewoocommerce-rest-api

WooCommerce API Get User Information


so I've been trying to get the WooCommerce REST API to give me single users and all users information to no avail, I keep getting the error:

{
    "code": "woocommerce_rest_cannot_view",
    "message": "Sorry, you cannot list resources.",
    "data": {
        "status": 403
    }
}

Using Basic Auth with an https address, the API has both read/write permissions as well. Using the format of:

https://exampledomain.com/wp-json/wc/v3/customers/

Solution

  • Reset admin and it worked like a charm, weird as hell but yep.