Update a company
documentedUpdate an existing company in the workspace.
PATCH /v1/companies/{companyId}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://api.folk.app/v1/companies/{{$companyId}}" \\n -X PATCH \\n -H "Authorization: Bearer {{FOLK_API_KEY}}" \\n -H "Content-Type: application/json" \\n -H "Accept: application/json" \\n -d '{"name": "{{$name}}", "description": "{{$description}}", "fundingRaised": {{$fundingRaised}}, "lastFundingDate": "{{$lastFundingDate}}", "industry": "{{$industry}}", "foundationYear": "{{$foundationYear}}", "employeeRange": "{{$employeeRange}}", "groups": [{"id": "{{$groupId}}"}], "addresses": ["{{$address1}}", "{{$address2}}"], "emails": ["{{$email1}}", "{{$email2}}"], "phones": ["{{$phone1}}", "{{$phone2}}"], "urls": ["{{$url1}}", "{{$url2}}"], "customFieldValues": { "{{$groupId}}": { "Status": "{{$status}}", "Business type": ["{{$businessType1}}", "{{$businessType2}}"], "Join date": "{{$joinDate}}", "Relationships": [{"id": "{{$relationshipId1}}"}] } } }'"