API reference · Credit Limit

List Credit Limits

GEThttps://api.sandbox.cws.digital/creditLimit/list

Description

Lists your store's credit limits, from the most recently changed to the oldest, with filters by customer, type and change date.

Parameters

Query parameters

FieldTypeRequiredDescriptionValue
documentstringNo

Customer's CPF or CNPJ, with or without mask. When omitted, the listing brings the store's limits.

creditCodestringNo

Code of the limit type. Brings only the limits of this type.

updatedSincestringNo

Brings only the limits changed from this date and time on, with the time zone: 2026-09-01T08:30:00-03:00.

limitintegerNo

Records per page. Default 5, maximum 25; a value above 25 is reduced to 25, and zero or negative becomes 5.

offsetintegerNo

Starting record of the page. Default 0.

Business rules

Synchronizing the limits

To bring only what changed, send in updatedSince the date of the last synchronization and go through the pages with offset until an empty list comes.

The order holds between pages, so no limit repeats or is left out.

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/creditLimit/list' \
  --header 'Authorization: Bearer <access_token>'

Response

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