API reference · Sales Rep Module
List Sales Rep's Customer Portfolio
- Method
- GET
- Route
-
/sellerModule/listCustomers/:id - Base URL
https://ws.autorei.net- Path parameters
:id- Query parameters in the example
limit=20offset=0- Token
- Requires Bearer token
Test in Postman
Opens this request in the public API documentation, the official source of the reference.
Description
Lists a sales rep's customer portfolio — the customers linked to that sales rep.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
uuid | Yes | Sales rep id, as it came in id in the sales rep listing. |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit |
integer | No | Customers per page. Default 20. |
offset |
integer | No | Starting customer of the page. Default 0. |
email |
string | No | Partial search by the customer's email. |
Response · 200
Array with one object per link. Comes as [] when the sales rep has no customer in the portfolio, and also when the id provided does not match any sales rep.
| Field | Type | Description |
|---|---|---|
id |
uuid | Id of the link, not of the customer. It is the value the unlink route asks for. |
username |
string | Customer's login email. |
document |
string | Customer's CPF or CNPJ. |
customerName |
string | Customer name. |
createdAt · updatedAt |
string | Creation and last change of the link, in UTC. |
Errors
| Code | When |
|---|---|
| 401 | Token missing, malformed or expired. |
Example request
curl --request GET 'https://ws.autorei.net/sellerModule/listCustomers/:id?limit=20&offset=0' \
--header 'Authorization: Bearer {{access_token}}' Example responses
200Success — one customer in the portfolio
[
{
"id": "2f9d4c17-8a53-41be-b06d-9c1e7f28a5d3",
"username": "compras@auroradistribuidora.com.br",
"document": "29.893.264/0001-01",
"customerName": "Comercial Aurora Ltda",
"createdAt": "2026-09-02T10:15:33.204118Z",
"updatedAt": "2026-09-02T10:15:33.204118Z"
}
] Used in
Related endpoints
Generated from the public API collection, published on 2026-09-04: api-docs.cws.digital.