Update customer's address
Using this endpoint, you can update a customer’s address based on the customerId
and addressId
. This replaces the existing address with the new one. If you want to make only a partial update, use the PATCH /customers/{customerId}/customer-address/{addressId}
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.
A 24-character system-generated ID of the customer's address.
Body
The address details.
A flag indicating whether the address is the default one. true
indicates the address is the default address and false
indicates otherwise.
A placeholder for additional info, in key-value pairs.
Response
A 24-character system-generated ID of the address.
The address details.
A flag indicating whether the address is deleted. true
indicates the address is deleted and false
indicates otherwise.
The time when the address was created, in UTC format.
The time when the address was the last updated, in UTC format.
A placeholder for additional info, in key-value pairs.
A flag indicating whether the address is the default one.true
indicates the given address is the default address and false
indicates otherwise.
The time when the address was deleted, in UTC format.
Was this page helpful?