Update customer details
Using this endpoint, you can update details of an existing customer by customerId
.
This endpoint replaces the existing details of the customer. If you want to make only a partial update, without replacing the entire details, use the PATCH /customers/{customerId}
endpoint.
Authorizations
The access token.
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
A UUID of the request.
Path Parameters
A 24-character system-generated ID of the customer. This is returned in the response of the POST /customers
endpoint.
Body
The customer's full name.
The customer's email.
A UUID of the customer.
A placeholder for additional info, in key-value pairs.
Response
A 24-character system-generated ID of the customer.
The full name of the customer.
The customer's email.
A flag indicating whether the customer's record is deleted. true
indicates, the customer's record is deleted and false indicates otherwise.
The time when the customer was added to the system, in UTC format.
The time when the customer data was last updated, in UTC format.
The account status of the customer.
ACTIVE
, INACTIVE
, BLOCKED
A UUID of the customer.
A placeholder for additional info, in key-value pairs.
The time when the customer's record was deleted, in UTC format.
The default addresses of the customer.
Was this page helpful?