Set a customer as inactive
documentedMark a customer as inactive.
POST /api/v3/customer/{customer_id}/_action/setInactiveCustomersno 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/setInactive" \
-u "{{CHARGEOVER_API_KEY}}:{{CHARGEOVER_SECRET}}" \
-X POST \\
-H "Accept: application/json" \\
-H "Content-Type: application/json" \\
-d '{"reason": "{{$reason}}"}'