Create customer
documentedCreates a new customer.
POST api/Customer/CreateCustomerCustomerno 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://api.cayzu.com/api/Customer/CreateCustomer" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "X-API-Key: {{CAYZU_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"alternate_domains": {{$alternate_domains}}, "address1": "{{$address1}}", "address2": "{{$address2}}", "city": "{{$city}}", "company_name": "{{$company_name}}", "country": "{{$country}}", "is_active": {{$is_active}}, "location": "{{$location}}", "notes": "{{$notes}}", "phone_number": "{{$phone_number}}", "postal_code": "{{$postal_code}}", "custom_fields": [ {"Name": "{{$custom_field_name_1}}", "Type": "{{$custom_field_type_1}}", "Value": "{{$custom_field_value_1}}"}, {"Name": "{{$custom_field_name_2}}", "Type": "{{$custom_field_type_2}}", "Value": "{{$custom_field_value_2}}"} ], "id": {{$id}} }'"}