Sign in

Update customer

documented

Update an existing customer.

PATCH /v2.0/{environment}/api/v2.0/customers({id})Business Centralno implementation yet0 runs
No 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.businesscentral.dynamics.com/v2.0/{{$environment}}/api/v2.0/companies({{$companyId}})/customers({{$customerId}})" \
  -X PATCH \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "If-Match: {{$etag}}" \
  -d '{"displayName": "{{$displayName}}", "addressLine1": "{{$addressLine1}}", "city": "{{$city}}", "postalCode": "{{$postalCode}}", "country": "{{$country}}", "phoneNumber": "{{$phoneNumber}}", "email": "{{$email}}", "website": "{{$website}}", "taxLiable": {{$taxLiable}}}'