Update customer
documentedUpdates an existing customer.
POST api/Customer/UpdateCustomer/{id}Customerno 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/UpdateCustomer/{{$id}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"address1": "{{$address1}}",
"address2": "{{$address2}}",
"city": "{{$city}}",
"company_name": "{{$company_name}}",
"country": "{{$country}}",
"date_created": "{{$date_created}}",
"date_last_updated": "{{$date_last_updated}}",
"DateTimeFormat": {
"adjust_for_daylight_savings": {{$adjust_for_daylight_savings}},
"date_format": {
"name": "{{$date_format_name}}",
"id": {{$date_format_id}}
},
"time_format": {
"name": "{{$time_format_name}}",
"id": {{$time_format_id}}
},
"id": {{$datetime_format_id}}
},
"is_active": {{$is_active}},
"location": "{{$location}}",
"notes": "{{$notes}}",
"phone_number": "{{$phone_number}}",
"postal_code": "{{$postal_code}}",
"id": {{$customer_body_id}}
}'"