Was this helpful?
Get the dealer to which the tenant belongs.
The unique ID of tenant.
The unique ID of the resource.
GET /api/tenants/{id}/dealers HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
{ "items": [ { "id": "NzAwNTUxOTA5NzczMTQ4MTYw", "enabled": true, "level": "DISTRIBUTOR", "name": "text", "display_name": "text" } ] }
Designate tenant to dealer.
The unique ID of dealer.
POST /api/tenants/{id}/dealers/{dealer_id} HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
No Content