Company
Manage dealership (company) records linked to your partner account. Companies are identified by your reference string.
Endpoints
GET
/v2/company/
List companies (paginated)
GET
/v2/company/{{reference}}/
Retrieve one company
PUT
/v2/company/{{reference}}/
Full update — name, reference, products, integration_active
POST and DELETE are not supported — companies are provisioned by Logimeter.
Always send the full products array on PUT. If products is omitted or [], all linked products are removed. Unrecognized product slugs are silently ignored (no validation error).
Always send integration_active explicitly on PUT. If the company is currently inactive and you omit this field, the API may reactivate it. Only "integration_active": false while currently active reliably deactivates.
Request examples
GET — retrieve company
curl -s "https://next.logimeter.com/v2/company/6e7d1f48-2ca1-4ef4-a433-a3fa765ff190/" -H "Authorization: Token xxxxxxx_your_token_xxxxx"
const response = await fetch(
'https://next.logimeter.com/v2/company/6e7d1f48-2ca1-4ef4-a433-a3fa765ff190/',
{ headers: { Authorization: 'Token xxxxxxx_your_token_xxxxx' } }
);
const company = await response.json();
import requests
resp = requests.get(
'https://next.logimeter.com/v2/company/6e7d1f48-2ca1-4ef4-a433-a3fa765ff190/',
headers={'Authorization': 'Token xxxxxxx_your_token_xxxxx'},
)
resp.raise_for_status()
PUT — full update
curl -sX PUT "https://next.logimeter.com/v2/company/6e7d1f48-2ca1-4ef4-a433-a3fa765ff190/" \
-H "Authorization: Token xxxxxxx_your_token_xxxxx" \
-H "Content-Type: application/json" \
-d '{
"name": "Trask Industries",
"reference": "6e7d1f48-2ca1-4ef4-a433-a3fa765ff190",
"products": ["CONNECT_SINGLE", "LEAD_TRACKER"],
"integration_active": true
}'
const response = await fetch(
'https://next.logimeter.com/v2/company/6e7d1f48-2ca1-4ef4-a433-a3fa765ff190/',
{
method: 'PUT',
headers: {
Authorization: 'Token xxxxxxx_your_token_xxxxx',
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'Trask Industries',
reference: '6e7d1f48-2ca1-4ef4-a433-a3fa765ff190',
products: ['CONNECT_SINGLE', 'LEAD_TRACKER'],
integration_active: true,
}),
}
);
const company = await response.json();
import requests
resp = requests.put(
'https://next.logimeter.com/v2/company/6e7d1f48-2ca1-4ef4-a433-a3fa765ff190/',
headers={'Authorization': 'Token xxxxxxx_your_token_xxxxx', 'Content-Type': 'application/json'},
json={
'name': 'Trask Industries',
'reference': '6e7d1f48-2ca1-4ef4-a433-a3fa765ff190',
'products': ['CONNECT_SINGLE', 'LEAD_TRACKER'],
'integration_active': True,
},
)
resp.raise_for_status()
company = resp.json()
Responses
200 OK
Single company object (GET detail or PUT).
{
"id": 42,
"name": "Trask Industries",
"reference": "6e7d1f48-2ca1-4ef4-a433-a3fa765ff190",
"callback_url": "https://your-server.com/company-callbacks/",
"integration_active": true,
"is_live": true,
"products": ["CONNECT_SINGLE", "LEAD_TRACKER"]
}
200 OK
Paginated list (GET collection).
{
"count": 1,
"next": null,
"previous": null,
"results": [{
"id": 42,
"name": "Trask Industries",
"reference": "6e7d1f48-2ca1-4ef4-a433-a3fa765ff190",
"callback_url": "https://your-server.com/company-callbacks/",
"integration_active": true,
"is_live": true,
"products": ["CONNECT_SINGLE", "LEAD_TRACKER"]
}
]
}
404 Not Found
Unknown or out-of-scope reference (GET detail or PUT).
403 Forbidden
{"detail": "Partner Company is not yours"}
Fields
| Field | Type | RW | Description |
|---|---|---|---|
| id | integer | read | Partner company reference ID. |
| name | string | write | Company name in your system. |
| reference | string | write | Your unique company identifier (URL lookup key). |
| callback_url | string | read | From partner company_callback_url configuration. |
| integration_active | boolean | write | Whether you actively manage this company. See PUT warnings above. Changes may trigger notification emails. |
| is_live | boolean | read | Company has active rentals (Rental lifespan contains now). |
| products | array | write (PUT) | Product slugs, e.g. CONNECT_SINGLE, LEAD_TRACKER, CALL_MANAGER. Replaces all linked products — see PUT warning above. |