Update customer

This endpoint can be used to partially update a previously created customer.

Only the fields present in the payload are validated and applied, and required-field checks are skipped for anything that is omitted. If customerId is included in the body, it must match the id path parameter.

taxpayerId may be omitted, but when your account is configured to require a taxpayer ID it cannot be explicitly set to an empty string.

Nested records follow the same match-by-ID rules used by Replace customer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required
≥ 1

The customer ID of the customer being updated. Must be a positive integer.

Body Params

The payload used to replace or partially update a customer. For a replace ( PUT ), the same fields are required as for a create. For a partial update ( PATCH ), every field is optional and only the fields that are present are validated and applied.

Nested records are matched by their own IDs. An entry carrying contactId, addressId, customerDbaId, or ID updates that existing record, and an entry without one is inserted as a new record.

int64

The ID of the customer being updated. This field is optional, but when it is present it must match the id path parameter.

string
length ≤ 255

The name of the customer.

string
length ≤ 255

The customer reference code from your billing, accounting, and/or ecommerce system for this customer.

string
length ≤ 9

The customer's taxpayer identification number. This field may be omitted on a partial update, but when your account is configured to require a taxpayer ID it cannot be explicitly set to an empty string.

string
length ≤ 255

The identifier of this customer in your source system.

integer
≥ 0

The ID of the user updating this customer.

contacts
array of objects

A list of contacts associated with this customer.

contacts
addresses
array of objects

A list of addresses associated with this customer.

addresses
dbas
array of objects

A list of "doing business as" names associated with this customer.

dbas
alternateIds
array of objects

A list of alternate identifiers associated with this customer.

alternateIds
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json