Create a customer
documentedCreate a new ChargeOver customer.
POST /api/v3/customerCustomersno 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_name}}.chargeover.com/api/v3/customer" \
-X POST \
-u "{{CHARGEOVER_API_KEY}}:{{CHARGEOVER_SECRET}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"company": "{{$company}}", "external_key": "{{$external_key}}", "parent_customer_id": {{$parent_customer_id}}, "superuser_email": "{{$superuser_email}}", "superuser_name": "{{$superuser_name}}", "bill_addr1": "{{$bill_addr1}}", "bill_city": "{{$bill_city}}", "bill_state": "{{$bill_state}}", "bill_postcode": "{{$bill_postcode}}", "bill_country": "{{$bill_country}}", "currency_id": {{$currency_id}}, "language_id": {{$language_id}}, "custom_1": "{{$custom_1}}"}'