Last updated 3 years ago
This API allows you to fetch specific wholesale role data.
GET: /wp-json/wholesale/v1/roles/wholesale_customer
{ "roleName": "Wholesale Customer", "desc": "updated desc", "main": true }
Method
Endpoint
GET
/wp-json/wholesale/v1/roles/{role_key}
Path parameters
role_key
required
string
The wholesale role key