Request
|
Endpoint:
|
/api/customers/{customer_id}
|
|
Example:
|
/api/customers/915
|
|
Method:
|
GET
|
|
Headers:
|
Accept: application/vnd.cloudlx.v1+json
|
|
Authorization: Bearer <access_token>
|
Response
Example:
{
"id": 915,
"name": "Customer 1",
"currency": {
"name": "GBP - British Pound",
"iso_2": "GB",
"iso_3": "GBP"
},
"country": {
"name": "United Kingdom",
"iso_2": "GB",
},
"realms": [
{
"id": 2,
"name": "Networking",
"description": "Cloud Link Exchange"
},
{
"id": 7,
"name": "Voice",
"description": "Use the Voice app to buy geographic, toll free, mobile, and premium rate numbers globally."
}
],
"sub_realms": [
{
"id": 313,
"name": "SD WAN",
"description": null,
"has_access": true
}
]
}
|
id
|
Description
|
The id of the customer
|
|
Type
|
Integer
|
|
Example
|
915
|
|
name
|
Description
|
The customer name
|
|
Type
|
String
|
|
Example
|
Customer 1
|
|
currency
|
Description
|
A currency model describing the customer's default currency
|
|
Type
|
Object
|
|
country
|
Description
|
A currency model describing the customer's country
|
|
Type
|
Object
|
|
realms
|
Description
|
The realms that the customer has access to
|
|
Type
|
Array[Object]
|
|
sub_realms
|
Description
|
The sub-realms that the customer can see or has access to.
|
|
Type
|
Array[Object]
|