API reference · Customers · Addresses
Remove All Customer Addresses
- Method
- DELETE
- Route
-
/deleteAllCustomerAddress/:document - Base URL
https://ws.autorei.net- Path parameters
:document- Token
- Requires Bearer token
Test in Postman
Opens this request in the public API documentation, the official source of the reference.
Description
Removes all addresses of a customer in your store at once.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
document |
string | Yes | Customer's CPF or CNPJ. |
Business rules
Removal cannot be undone
There is no endpoint to restore removed addresses. The customer is left without an address until a new one is registered.
Response · 200
| Field | Type | Description |
|---|---|---|
status |
string | ACCEPTED. |
Errors
| Code | When |
|---|---|
| 404 | Document not registered in your store. |
| 401 | Token missing, malformed or expired. |
Example request
curl --request DELETE 'https://ws.autorei.net/deleteAllCustomerAddress/:document' \
--header 'Authorization: Bearer {{access_token}}' Example responses
200Success — addresses removed
{
"status": "ACCEPTED"
} Used in
This endpoint does not appear in any published use case yet.
Related endpoints
Generated from the public API collection, published on 2026-09-04: api-docs.cws.digital.