Skip to main content
Bulk methods allow you to create, update, or delete up to 100 records in a single request. Use them for imports, batch status updates, or any operation where looping individual calls would be slow or hit rate limits.

bulkCreateRecords(entityKey, records, signal?)

Creates up to 100 records in one request.
Unlike single-record operations, partial bulk failures do not throw — always check result.error after every bulk call.
Whole-batch failures (entity not found, quota exceeded) throw HaspSDKError before any records are written.

bulkUpdateRecords(entityKey, updates, signal?)

Updates up to 100 records in one request. Each item must include id and data. PATCH semantics — only submitted fields change; send null to clear a field.

bulkDeleteRecords(entityKey, ids, signal?)

Deletes up to 100 records in one request.

Limits

For datasets larger than 100, loop in batches: