Update company
documentedUpdate a company.
PUT /api/v2/companies/{id}Companiesno implementation yet0 runsNo 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://{{$domain}}.freshdesk.com/api/v2/companies/{{$id}}" \
-X PUT \
-u {{FRESHDESK_API_KEY}}:X \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "description": "{{$description}}", "domains": ["{{$domain1}}","{{$domain2}}"], "custom_fields": {{$custom_fields}}, "health_score": "{{$health_score}}", "account_tier": "{{$account_tier}}", "renewal_date": "{{$renewal_date}}"}'