'Display user role name within WooCommerce API
I am looking to display user roles when issuing a GET request e.g: https://yourdomain.com/wp-json/wc/v3/orders.
The end goal is to use the user roles as a unique identifier in order to separate orders within an ERP based on the user role.
Any ideas?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
