Create contact for customer (alternate)
documentedCreates a new contact under an existing customer.
POST api/Individual?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?customerId={{$customerId}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"notify_by_email": {{$notifyByEmail}}, "address1": "{{$address1}}", "alternate_phone_number": "{{$alternatePhoneNumber}}", "city": "{{$city}}", "country": "{{$country}}", "description": "{{$description}}", "email_address": "{{$emailAddress}}", "full_name": "{{$fullName}}", "location": "{{$location}}", "phone_number": "{{$phoneNumber}}", "postal_code": "{{$postalCode}}", "title": "{{$title}}", "brand_id": {{$brandId}}, "can_see_all_company_tickets": {{$canSeeAllTickets}}, "custom_fields": [ {"Name": "{{$customFieldName1}}", "Type": "{{$customFieldType1}}", "Value": "{{$customFieldValue1}}" }, {"Name": "{{$customFieldName2}}", "Type": "{{$customFieldType2}}", "Value": "{{$customFieldValue2}}" }, {"Name": "{{$customFieldName3}}", "Type": "{{$customFieldType3}}", "Value": "{{$customFieldValue3}}"} ] }}'"