Companies

Verify company

PUT verify company(admin)

Endpoint

PUT /api/v1/companies/:id/verify

Request

Route

PUT /api/v1/companies/38/verify

Headers

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

Body

{
}

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/"bd933376d20d00ea4fd82ee29530f89c"
cache-control: max-age=0, private, must-revalidate
x-request-id: 78e57521-391e-4610-a398-1dbea4f824ad
x-runtime: 0.008872
content-length: 193

Body

{
  "company": {
    "id": 38,
    "address": "Apt. 520 983 Karole Square, Schroederfurt, IA Z1J 5AR",
    "country": "GBR",
    "currency": "GBP",
    "license_number": "6773401884",
    "name": "Kozey and Sons",
    "state": "verified"
  }
}