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