Sign in

Update company

documented

Update an existing company.

PUT /api/2.0/companies/{companyId}Schedulingno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.agendize.com/api/2.0/scheduling/companies/{{$companyId}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "timeZone": "{{$timeZone}}", "email": "{{$email}}", "phone": "{{$phone}}", "address": {"street": "{{$street}}", "otherStreet": "{{$otherStreet}}", "zipCode": "{{$zipCode}}", "state": "{{$state}}", "city": "{{$city}}", "country": "{{$country}}"}, "description": "{{$description}}", "websiteLink": "{{$websiteLink}}", "currency": "{{$currency}}", "externalId": "{{$externalId}}", "geolocation": {"lat": {{$lat}}, "lng": {{$lng}}}, "workingHours": [ {"day": "{{$day}}", "hours": [ {"start": "{{$startTime}}", "end": "{{$endTime}}" } ] } ], "vacations": [ {"startDate": "{{$vacationStart}}", "endDate": "{{$vacationEnd}}" } ]}'