Skip to main content
POST
Batch operations allow you to update multiple inventory items in a single API call, significantly improving performance for large-scale operations.

Request Body

operation
string
required
Type of batch operation:
  • update - Update multiple items
  • adjust - Bulk quantity adjustments
  • transfer - Multi-item transfers
  • cycle_count - Batch cycle counting
  • import - Import inventory data
items
array
required
Array of items to process (max 1000 per request)
options
object
Batch operation options

Response

batch_id
string
Unique identifier for this batch operation
status
string
Batch status: processing, completed, failed, partial
summary
object
Operation summary
results
array
Individual item results

Operation Types

Bulk Update

Update multiple inventory item properties at once.

Bulk Adjust

Adjust quantities for multiple items simultaneously.

Bulk Transfer

Transfer multiple items between locations.

Import Inventory

Import inventory data from external systems.

Async Operations

For large batches, operations are processed asynchronously:

Error Handling

Handle batch operation errors gracefully:

Performance Tips

  • Batch operations can process up to 1,000 items per request
  • For larger datasets, use async operations
  • Group similar operations together
  • Use validate_only to test before executing
  • Monitor rate limits for optimal throughput