ADM-BUYING-POLICY-201 - Update default credit limit

Updates the default credit limit for the platform. This limit applies to all
Customer Accounts that do not have a custom credit limit configured individually.

⚠️ The new value must be greater than or equal to 0.

⚠️ 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…
Body Params
int32
required
≥ 0
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
204

Default credit limit successfully updated.

400

Invalid payload.
This error occurs when:

- The creditLimit field is missing

- The creditLimit is lower than 0

401

Authentication is required to access this endpoint.

403

Access denied. Only OPERATOR clients are allowed to call this endpoint.

500

Unexpected server error.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here!