Update contact
documentedUpdate details for a specific contact (fields provided in the request body are applied; unspecified fields may be removed).
PUT /contacts/{contact_id}.jsonContactsno 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://campayn.com/api/v1/contacts/{{$contact_id}}.json" \
-X PUT \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: TRUEREST apikey={{CAMPAYN_API_KEY}}" \
-d '{"firstname": "{{$firstname}}", "lastname": "{{$lastname}}", "email": "{{$email}}", "phone": "{{$phone}}", "city": "{{$city}}", "state": "{{$state}}", "zip": "{{$zip}}", "company": "{{$company}}"}'