Sign in

Update customer

documented

Update an existing customer's details.

POST /v3/company/{realmId}/customer?operation=updateCustomersno 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://quickbooks.api.intuit.com/v3/company/{{$realmId}}/customer?operation=update&minorversion={{minorversion}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"Id": "{{$customer_id}}", "SyncToken": "{{$sync_token}}", "sparse": {{$sparse}}, "DisplayName": "{{$display_name}}", "CompanyName": "{{$company_name}}", "PrimaryPhone": {"FreeFormNumber": "{{$phone}}"}, "PrimaryEmailAddr": {"Address": "{{$email}}"}, "BillAddr": {"Line1": "{{$bill_line1}}", "City": "{{$bill_city}}", "CountrySubDivisionCode": "{{$bill_state}}", "PostalCode": "{{$bill_postal}}"}, "Notes": "{{$notes}}"}'