Set the primary contact for a customer
documentedAssign the primary contact (user) to a customer.
POST /api/v3/customer/{customer_id}/_action/setSuperUserCustomersno 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://{{$site_domain}}.chargeover.com/api/v3/customer/{{$customer_id}}/_action/setSuperUser\" \
-X POST \
-u "{{$CHARGEOVER_USERNAME}}:{{$CHARGEOVER_SECRET}}" \
-H \"Content-Type: application/json\" \
-H \"Accept: application/json\" \
-d '{"superuser_id": {{$superuser_id}}}'