Skip to content
platform

API reference · Customers · Addresses

Remove Customer Address

Method
DELETE
Route
/customer/:document/address/:addressId
Base URL
https://ws.autorei.net
Path parameters
:document :addressId
Token
Requires Bearer token
Test in Postman

Opens this request in the public API documentation, the official source of the reference.

Description

Removes an address from the record of a customer of your store.

Path parameters

Parameter Type Required Description
document string Yes Customer CPF or CNPJ.
addressId integer Yes Address id, as returned in id in the address list.

Response · 200

Field Type Description
status string OK.

Errors

Code When
404 {"status":"NOT_FOUND","message":"Endereço não encontrado para o cliente informado"} — the address does not exist or does not belong to that customer.
404 {"status":"NOT_FOUND","message":"Cliente não encontrado"} — document has no record in your store.
401 Token missing, malformed or expired.

Example request

curl --request DELETE 'https://ws.autorei.net/customer/:document/address/:addressId' \
  --header 'Authorization: Bearer {{access_token}}'

Example responses

200Success — address removed

{
  "status": "OK"
}

Used in

Generated from the public API collection, published on 2026-09-04: api-docs.cws.digital.