API reference · Seller Module

Unlink Customer from Seller

DELETEhttps://api.sandbox.cws.digital/sellerModule/deleteCustomer/{idAttendant}/{idCustomer}

Description

Undoes the link between a customer and a seller. The customer leaves that seller's portfolio; the customer's registration is not affected.

Parameters

Path parameters

FieldTypeRequiredDescriptionValue
idAttendantstringYes

Identifies the seller of your store by the unmasked CPF/CNPJ or by the login e-mail.

idCustomerstringYes

Identifies the customer by the unmasked CPF/CNPJ or by the login e-mail.

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/sellerModule/deleteCustomer/{idAttendant}/{idCustomer}' \
  --globoff \
  --header 'Authorization: Bearer <access_token>'

Response

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