Companies

Show company

GET company(admin)

Endpoint

GET /api/v1/companies/:id

Request

Route

GET /api/v1/companies/31

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMzEiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MDcsImV4cCI6MTc0NTA1NjkwNywianRpIjoiOGI1NmUwZDgtMDVlYy00MGI3LWIzZTEtYjdmMjYyYzg2NDJmIn0.lRh8ISDKzz0Yj7HYiNMQMzfysziUrpDvMEv9eXAF2H8
Host: example.org
Cookie: 

Query Parameters

{}=

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"b066c9d6b640e581e1cd63d15500f54f"
cache-control: max-age=0, private, must-revalidate
x-request-id: 2cd68b35-cb80-4358-b03d-f92709403814
x-runtime: 0.008048
content-length: 522

Body

{
  "company": {
    "id": 31,
    "address": "Suite 538 233 Crooks Junction, New Lacyhaven, IL WN7R 0BB",
    "billing_address": "Apt. 583 320 Glory Plains, Jakeside, ME ZU9X 5TG",
    "billing_full_name": "Antonietta Zboncak",
    "billing_phone_number": "0800 806 5806",
    "commission": "10.0",
    "created_at": "2025-03-20T10:01:47.964Z",
    "drivers_count": 0,
    "due_days": 30,
    "invoice_email": "sherwood_donnelly@watsica.test",
    "license_number": "5086759841",
    "live_jobs_count": 0,
    "name": "Murray Group",
    "rejection_reason": null,
    "state": "verified",
    "vat_number": "2958205872"
  }
}