Update customer (partial)
Changed onUpdate specific fields on a customer. Send only the fields you want to change. Anything you don't send stays as it is. To clear a nullable field, send null.
Set is_taxable to false to mark the customer as tax-exempt, or true to make them taxable. Omit the field to leave the current value unchanged.
To rename a customer, send:
{"name": "Acme Holdings, Inc."}
To update phone and website together, send:
{"phone": "555-0199", "website": "https://acme.example"}
Custom fields
Set custom fields by name:
{"custom_fields": [{"Partner": true}, {"Tier": "Gold"}]}
Each item is a one-key object where the key is the custom field's name and the value is whatever you want to set. Use null to clear a field. If the name doesn't match a custom field in your organization, the API returns a 422 instead of silently ignoring it. If you happen to have two custom fields with the same name, use the id-based shape:
{"custom_fields": [{"field": {"id": 42}, "value": {"custom_field_id": 42, "value": "Acme"}}]}
Omitting custom_fields from the request leaves existing values untouched.
Request
- Base URL: https://api.dualentry.com
- URL: https://api.dualentry.com/public/v1/customers/{customer_id}/
- Auth: none declared
Path parameters
Headers
Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.
Request body
Response
OK
Changes
- info
added the optional property
/////to the response with the status
- info
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info