Newer Version Available

This content describes an older version of this product. View Latest

Introduction to Bulk API 2.0 and Bulk API

Both Salesforce Bulk API's are based on REST principles and are optimized for working with large sets of data. Use them to insert, update, upsert, or delete many records asynchronously, meaning that you submit a request and come back for the results later. Salesforce processes the request in the background. Any data operation that includes more than 2,000 records is a good candidate for Bulk API 2.0 to successfully prepare, execute, and manage an asynchronous workflow that makes use of the Bulk framework. Jobs with fewer than 2,000 records should involve “bulkified” synchronous calls in REST (for example, Composite) or SOAP. Using the either Bulk API 2.0 or Bulk API requires basic familiarity with software development, web services, and the Salesforce user interface.