Update customer

PUT/api/v1/customers/{customer_id}

Update an existing customer's information.

Operation ID: update_customer_api_v1_customers__customer_id__put·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

customer_idstringrequired

Request body

idstring

Customer UUID (set from URL path).

namestring

Updated customer name.

emailstring · email

Updated email address.

addressstring

Updated address.

phonestring

Updated phone number.

tax_idstring

Updated tax ID.

websitestring

Updated website URL.

notesstring

Updated internal notes.

credit_limit_centsinteger

Updated credit limit in cents.

default_payment_term_idstring

Updated default payment term ID.

statusCounterpartyStatus

Updated status.

categorystring

Updated category.

invoice_footerstring

Custom invoice footer/payment instructions for this customer.

Responses

200Successful Response

successboolean
messagestring
codestring
dataCustomerResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject