Create connection
documentedCreate a new Hiveage Connection (company, client or vendor).
POST /api/networkNetworksno 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://{{$subdomain}}.hiveage.com/api/network" \
-X POST \
-u "{{HIVEAGE_API_KEY}}:" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"network": {"first_name": "{{$first_name}}", "last_name": "{{$last_name}}", "business_email": "{{$business_email}}", "currency": "{{$currency}}", "address": "{{$address}}", "city": "{{$city}}", "state_name": "{{$state_name}}", "zip_code": "{{$zip_code}}", "country": "{{$country}}", "phone": "{{$phone}}", "fax": "{{$fax}}", "website_url": "{{$website_url}}", "category": "{{$category}}", "language": "{{$language}}", "primary_contact_first_name": "{{$primary_contact_first_name}}", "primary_contact_last_name": "{{$primary_contact_last_name}}", "custom_fields": [{"name": "{{$custom_field_name}}", "value": "{{$custom_field_value}}"}]}}'