API reference · Credit Limit
List Credit Limits
https://api.sandbox.cws.digital/creditLimit/listDescription
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
| Field | Type | Required | Description | Value |
|---|---|---|---|---|
| document | string | No | Customer's CPF or CNPJ, with or without mask. When omitted, the listing brings the store's limits. | |
| creditCode | string | No | Code of the limit type. Brings only the limits of this type. | |
| updatedSince | string | No | Brings only the limits changed from this date and time on, with the time zone: | |
| limit | integer | No | Records per page. Default 5, maximum 25; a value above 25 is reduced to 25, and zero or negative becomes 5. | |
| offset | integer | No | 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.