ADM-BUYING-POLICY-551 - List all grace amounts

Retrieves all configured credit tolerance (grace amount) entries with optional filters.

Each entry adds a temporary or permanent allowance to a Customer Account's available credit.


Filter behaviour

- If customerAccountIds[] contains both valid and invalid IDs, the valid IDs are applied and the invalid ones are silently ignored.


Sorting

- Default By createdAt:desc (most recent first).

- When sorting by endDate, null values are always placed last.

- Invalid or malformed sort entries are silently ignored.


Sorting expressed as field:direction.

- Allowed fields: createdAt, updatedAt, startDate, endDate, amount, accountId

- Allowed directions: asc, desc

- Multiple sorts are supported by repeating the parameter: ?sort=createdAt:desc&sort=amount:asc

⚠️ This endpoint is only accessible when the dj-client header is set to OPERATOR.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
int32
int32
sort
array of strings

Format: property:direction (recommended) or property,direction (kept for backward compatibility).

sort
string

External IDs of Customer Accounts to filter on.

date-time

Include entries with startDate ≥ this timestamp (ISO 8601: YYYY-MM-DDTHH:MM:SSZ).

date-time

Include entries with endDate ≥ this timestamp (ISO 8601: YYYY-MM-DDTHH:MM:SSZ).

date-time

Include entries with startDate ≤ this timestamp (ISO 8601: YYYY-MM-DDTHH:MM:SSZ).

date-time

Include entries with endDate ≤ this timestamp (ISO 8601: YYYY-MM-DDTHH:MM:SSZ).

string
≥ 0

Minimum grace amount (inclusive). Must be ≥ 0.

string
≥ 0

Maximum grace amount (inclusive). Must be ≥ 0 and ≥ amountMin when both are provided.

string
    Filter by Customer Account display name (case-insensitive, contains).<br>
    Repeat the parameter to provide multiple values (logical OR).<br>
    If a value is empty or only whitespace, it is ignored.<br>
Headers
string
enum
required

Specifies the client type making the request.

  • OPERATOR: Platform operator user.

  • ACCOUNT: Customer account user.

  • SUPPLIER: Supplier managing orders.

Allowed:
string
required

API key required for authentication. Must be valid and linked to the requesting user.

string

(Optional) Store ID in multi-store environments.

string

(Optional) Store view ID in multi-store environments.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*