List labels
Retrieve all available labels for orders, customers, etc.
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
application/json
curl -X GET "https://your-site.com/wp-json/fluent-cart/v2/labels"{
"labels": [
{
"id": 0,
"value": "string",
"color": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
]
}{
"code": "rest_forbidden",
"message": "Sorry, you are not allowed to do that.",
"data": {
"status": 401
}
}