v2

latestOpenAPI 3.0.42026-08-084694591.6 MB
Customer

Update a specific customer

put/api/customers/{customerId}

Path parameters

customerIdstring required

Request body

namestring required

The name to give the customer. Must be unique to all active customers.

customerCodestring nullable

Unique identifier for this customer

currencyCodestring nullable

Currency code/denomination associated to this customer. If not provided, default to the primary currency code for the organization.

urlstring uri nullable

The Customer's website

creditLimitnumber double nullable

Credit limit

paymentTermsIdstring nullable

Payment terms identifier. Please reference /api/payment-terms endpoint.

salesPersonIdstring nullable

Sales person identifier. Please reference /api/users endpoint.

isTaxableboolean nullable

Whether or not this customer is taxable on Sales Orders and Quotes

taxRateIdsstring[] nullable

A list of tax codes to be automatically added to new SalesOrders for the customer when AutoAddTaxLineItems process setting is enabled.

externalReferencesobject nullable

Arbitrary key-value-pair like data that can be used to later on search for this line item.

customFieldsobject nullable

Custom fields that have been defined on this entity.

notesstring nullable

Notes associated to the customer.

hasCustomerPortalboolean nullable

Indicates if this customer is set up to use the customer portal.

Response

The customer for the given id

idstring required

Id

namestring required

The name to give the customer. Must be unique to all active customers.

customerCodestring nullable

Unique identifier for this customer

currencyCodestring nullable

Currency code/denomination associated to this customer. If not provided, default to the primary currency code for the organization.

urlstring uri nullable

The Customer's website

creditLimitnumber double nullable

Credit limit

paymentTermsIdstring nullable

Payment terms identifier. Please reference /api/payment-terms endpoint.

salesPersonIdstring nullable

Sales person identifier. Please reference /api/users endpoint.

isTaxableboolean

Whether or not this customer is taxable on Sales Orders and Quotes

taxRateIdsstring[] nullable

A list of tax codes to be automatically added to new SalesOrders for the customer when AutoAddTaxLineItems process setting is enabled.

externalReferencesobject nullable

External references associated with this entity.

customFieldsobject nullable

Custom fields that have been defined on this entity.

notesstring nullable

Notes associated to the customer.

hasCustomerPortalboolean required

Indicates if this customer is set up to use the customer portal.

customerTierIdstring nullable

Customer tier identifier. Please reference /api/customer-tiers endpoint.

customerTierNamestring nullable

Customer tier name.