Update contact primary phone
documentedUpdate primary phone for a contact.
POST /api/1.1/json/user/{id}/Contactsno 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://{{$account_domain}}.happyfox.com/api/1.1/json/users/" \
-u "{{HAPPYFOX_API_KEY}}:{{HAPPYFOX_SECRET}}" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "email": "{{$email}}", "phones": [{"type": "{{$phone_type}}", "number": "{{$phone}}", "is_primary": true}] , "c-cf-{{$cf1_id}}": "{{$cf1_value}}" }'