Dealer
Get details of current dealer.
Authorizations
Responses
200
OK
application/json
4XX
Error
get
GET /api/dealer HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"enabled": true,
"level": "DISTRIBUTOR",
"name": "text",
"email": "[email protected]",
"display_name": "text",
"website": "text",
"phone": "text",
"address": "text",
"description": "text",
"max_tenants": 100,
"max_extensions": 50000
}
Modify the settings of the current dealer.
Authorizations
Body
emailall ofOptional
The email address of user.
display_namestring · max: 1024Optional
The display name of user.
websitestringOptional
The website of user.
phonestring · max: 32Optional
The mobile phone number of user.
addressstring · max: 128Optional
The address.
descriptionstringOptional
The description of dealer.
Responses
200
OK
4XX
Error
post
POST /api/dealer HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 123
{
"email": "[email protected]",
"display_name": "text",
"website": "text",
"phone": "text",
"address": "text",
"description": "text"
}
No content