DELETE
/
customers
/
{customerId}
/
customer-address
/
{addressId}
{
  "type": "CUSTOMER_ADDRESS_DELETED_SUCCESSFULLY",
  "message": "Customer address deleted successfully"
}

Authorizations

Authorization
string
headerrequired

The access token.

Headers

x-fabric-tenant-id
string

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.

x-fabric-request-id
string

A UUID of the request.

Path Parameters

customerId
string
required

A 24-character system-generated ID of the customer. This is returned in the response of the POST /customers endpoint.

addressId
string
required

A 24-character system-generated ID of the customer's address.

Response

200 - application/json

The response message.

type
string
required

A machine-readable code.

message
string
required

A human-friendly message corresponding to the type.