Create contact for customer
documentedCreates a new contact under an existing customer.
POST api/Individual/CreateContactForCustomer?customerId={customerId}Individualno 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.cayzu.com/api/Individual/CreateContactForCustomer?customerId={{$customerId}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"notify_by_email": {{$notify_by_email}}, "address1": "{{$address1}}", "alternate_phone_number": "{{$alternate_phone_number}}", "city": "{{$city}}", "country": "{{$country}}", "description": "{{$description}}", "email_address": "{{$email_address}}", "full_name": "{{$full_name}}", "location": "{{$location}}", "phone_number": "{{$phone_number}}", "postal_code": "{{$postal_code}}", "title": "{{$title}}", "brand_id": {{$brand_id}}, "can_see_all_company_tickets": {{$can_see_all_company_tickets}}, "custom_fields": [ {"Name": "{{$custom_field1_name}}", "Type": "{{$custom_field1_type}}", "Value": "{{$custom_field1_value}}" }, {"Name": "{{$custom_field2_name}}", "Type": "{{$custom_field2_type}}", "Value": "{{$custom_field2_value}}"} ] }'"