Skip to navigation

Update contact

Update a contact by its ID. A contact can move to another customer only if no orders or invoices reference it; otherwise a different customerId returns 400 CONTACT_CUSTOMER_IMMUTABLE.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

idstringRequired

Request

Body
customerIdstringOptional>=1 character
Destination customer ID. A contact can move only if no orders or invoices reference it.
firstNamestringOptional
lastNamestringOptional
emailstringOptionalformat: "email"
phonestring or nullOptional
billingAddressobjectOptional
externalIdstring or nullOptional
roleslist of enumsOptional
Allowed values:

Response

200
idstring
customerIdstring
firstNamestring
lastNamestring
emailstring
phonestring or null
externalIdstring or null
roleslist of enums
Allowed values:
createdAtdatetime
updatedAtdatetime
billingAddressobjectOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error