API reference · Customers
Remove All Customer Addresses
DELETE
https://api.sandbox.cws.digital/deleteAllCustomerAddress/{document}Description
Removes all the addresses of a customer of your store at once.
Parameters
Path parameters
| Field | Type | Required | Description | Value |
|---|---|---|---|---|
| document | string | Yes | Customer's CPF or CNPJ. |
Business rules
The removal cannot be undone
There is no endpoint to restore removed addresses. The customer stays without an address until a new one is registered.
Responses
- 401
Missing, malformed or expired token.
- 404
Document not registered in your store.