API reference · Seller Module

List Seller's Customer Portfolio

GEThttps://api.sandbox.cws.digital/sellerModule/listCustomers/{id}

Description

Lists a seller's customer portfolio — the customers that are linked to them —, from the newest link to the oldest.

Parameters

Path parameters

FieldTypeRequiredDescriptionValue
idstringYes

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

Query parameters

FieldTypeRequiredDescriptionValue
limitintegerNo

Customers per page. Default 20, maximum 200. A value above that is reduced to 200, and an invalid value uses the default, with no error.

offsetintegerNo

First customer of the page. Default 0.

emailstringNo

Exact search by the customer's login e-mail. With email, limit and offset do not apply.

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 GET \
  --url 'https://api.sandbox.cws.digital/sellerModule/listCustomers/{id}' \
  --globoff \
  --header 'Authorization: Bearer <access_token>'

Response

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