Skip to navigation

Bulk create CreditLimit

Beta

Create credit limits asynchronously. Returns a task; poll the task to retrieve the created credit limit IDs.

Each item follows the same rules as the single-create endpoint: tenant admin permission is required, monthlyLimit must be positive, teamId or organizationId must match groupType, and each group may have at most one limit.

Do not include two items for the same group in one request.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

EARLY-ACCESSstringOptional

Set to true to access beta operations via /api/v3.

Request

This endpoint expects an object.
fileIdstringRequired

The API ID of the scratch file (scrfile_XXXXXXXX) containing the items to import. The referenced file must be a scratch file whose upload has completed successfully.

Response

Task started
pollingUristringOptionalformat: "uri"
taskIdstringOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error