Skip to main content
PUT
/
api
/
companies
/
{id}
{
  "message": "<string>",
  "data": {
    "id": 123,
    "user_id": 123,
    "name": "<string>",
    "email": "<string>",
    "latitude": 123,
    "longitude": 123
  }
}

Authorizations

Authorization
string
header
required

Enter your JWT token in the format 'Bearer '

Path Parameters

id
integer
required

Company ID

Body

application/json
name
string
required
Example:

"Updated Company Name"

email
string | null
Example:

"Updated Company Email"

latitude
number<float> | null
Example:

52.520008

longitude
number<float> | null
Example:

13.404954

Response

Company updated successfully

message
string
data
object