Skip to main content

Update company by ID

PUT 

/truckers/trucker_cia/:id

Updates the information of a specific company identified by its ID.

Differences from PUT /:

  • Requires the company ID in the URL
  • Allows updating companies belonging to other users (requires special permissions)
  • Same business logic and validations as PUT /

Use Cases:

  • Administrators needing to modify other users' companies
  • Information approval/review workflows
  • Data correction by technical support

Request Example:

{
name: Transportes por ID S.L.,
taxId: B99887766,
email: porid@transportes.com,
phone: +3499887766,
addressGoogleMaps: {
formatted_address: Calle ID 101, Valencia, Spain,
place_id: ChIJ5555555555,
geometry: {
location: {
lat: 39.4699,
lng: -0.3763
}
}
},
bank: ES9121000418450200059999
}

Request

Responses

Company Details