Dealers
Get the dealer to which the tenant belongs.
Authorizations
Path parameters
idall ofRequired
The unique ID of tenant.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200
OK
application/json
4XX
Error
get
GET /api/tenants/{id}/dealers HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"enabled": true,
"level": "DISTRIBUTOR",
"name": "text",
"display_name": "text"
}
]
}
Designate tenant to dealer.
Authorizations
Path parameters
idall ofRequired
The unique ID of tenant.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
dealer_idall ofRequired
The unique ID of dealer.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200
OK
4XX
Error
post
POST /api/tenants/{id}/dealers/{dealer_id} HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content