Update customer

Updates an existing customer by its ID.

Path Parameters

ParameterTypeRequiredDescription
idintegerYesCustomer unique identifier

Body Fields

FieldTypeRequiredDescription
firstNamestringNoCustomer first name
lastNamestringNoCustomer last name
emailstringNoCustomer email address
civilitystringNoCivility/title (Mr, Mrs, etc.)
phonestringNoPrimary phone number
jobTitlestringNoJob title/position
billingAddressobjectNoBilling address (see Address object below)
differentDeliveryAddressbooleanNoSet to true if delivery address differs
deliveryAddressobjectNoDelivery address
customerCompanyobjectNoLink to customer company: {"id": companyId} or null to unlink
customFieldsobjectNoCustom field values
archivedbooleanNoSet to true to archive the customer

Address Object

FieldTypeRequiredDescription
countrystringNoCountry code (e.g., FR, US)
addressstringNoStreet address
postCodestringNoPostal code
citystringNoCity name

Response Fields

FieldTypeDescription
idintegerCustomer unique identifier
numberstringCustomer reference number
firstNamestringCustomer first name
lastNamestringCustomer last name
fullNamestringComputed full name
emailstringCustomer email address
customerCompanyobjectLinked customer company
archivedbooleanArchived status
isDeletablebooleanWhether the customer can be deleted
createdAtdatetimeCreation timestamp
updatedAtdatetimeLast update timestamp

Response

  • 200 OK: Customer successfully updated
  • 400 Bad Request: Invalid request body or validation error
  • 401 Unauthorized: Invalid or missing API key
  • 404 Not Found: Customer not found
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Body Params
string
string
string
Responses
200

Resource updated

400

Bad request

401

Unauthorized

404

Resource not found

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!