API reference · Customers

Remove Customer Address

DELETEhttps://api.sandbox.cws.digital/customer/{document}/address/{addressId}

Description

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

Parameters

Path parameters

FieldTypeRequiredDescriptionValue
documentstringYes

Customer's CPF or CNPJ.

addressIdintegerYes

Address id, as it came in address[].id in the customer registration or in id in the address creation.

Responses

  • 401

    Missing, malformed or expired token.

Try it

Sandbox

Language

Credentials

Access token: saved in this tab and used on every endpoint.

Each token only reaches the partner's own data and that of the branches with an authorized link.

Don't have sandbox credentials yet? See how to request them

Request

cURL
curl --request DELETE \
  --url 'https://api.sandbox.cws.digital/customer/46693537308/address/4470702' \
  --header 'Authorization: Bearer <access_token>'

Response

Click Try it to see the real response here, or pick a documented example: