Get all roles
Retrieve all FluentCart roles with their titles, descriptions, and capability sets.
Authorization
applicationPassword AuthorizationBasic <token>
WordPress Application Password authentication. Generate one at wp-admin > Users > Application Passwords. Use as Basic Auth with username:application_password (base64-encoded).
In: header
Response Body
application/json
curl -X GET "https://your-site.com/wp-json/fluent-cart/v2/roles"{
"roles": {
"property1": {
"title": "string",
"description": "string"
},
"property2": {
"title": "string",
"description": "string"
}
}
}