Update customer contact

PUT/api/v1/customers/{customer_id}/contacts/{contact_id}

Update an existing customer contact.

Operation ID: update_contact_api_v1_customers__customer_id__contacts__contact_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
contact_idstringrequired

Request body

namestring

Updated contact name.

emailstring · email

Updated email address.

phonestring

Updated phone number.

rolestring

Updated role.

is_primaryboolean

Set as primary contact.

notesstring

Updated notes.

Responses

200Successful Response

successboolean
messagestring
codestring
dataEntityContactResponse

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