Data In
Best practices for importing data to Omnium efficiently using batch operations and optimized endpoints.
Overview
This guide shows how to import products, inventory, orders, and customers efficiently using Omnium's batch endpoints. When importing data to Omnium, batch operations are strongly recommended over single-item operations. Batch endpoints are optimized to handle high volumes efficiently and reduce API calls dramatically.
Inventory Updates
If you're adding or updating inventory in Omnium, UpdateMany is your go-to endpoint, even for a single item. It automatically handles inserts, updates, and skips unchanged items.
Here's an example of how to send multiple inventory updates in one request:
Why it matters:
- Ignores unchanged inventory items
- Only updates items with actual changes
- Handles up to 1000 items per batch
- Automatically inserts new items or updates existing ones
- Automatically creates inventory transactions
- Enriches existing inventory items - preserves
reservedInventoryand other existing data - Optimal performance for bulk operations
Best Practice: Use UpdateMany even if you only have a single inventory update. The endpoint is optimized to handle both single and bulk operations efficiently.
Product Updates
For most product changes, PatchMany (or UpdateMany) is the best choice. It batches updates efficiently and skips unchanged data.
Here's how to update multiple products at once:
Benefits:
- Only updates fields that have actual changes
- Handles up to 1000 products per batch
- Optimal performance - skips unnecessary updates
- Preserves existing product data
For single operations:
Note: Batch operations don't create new product versions, but they're much faster and more efficient.
Price Updates
Prices can be updated as part of the product (via api/products/PatchMany, for instance), but to ensure proper handling of existing prices, whether you want to retain or remove them, you should use the dedicated pricing endpoint
What you get:
- Automatically checks for actual price changes to avoid unnecessary updates
- Optimized for high-frequency price updates from external systems
- If you're using separate prices, always use this endpoint for updates
Order Import
Important: For new order processing that requires workflow execution (queuing, fulfillment automation, notifications, etc.), do not use batch operations. Instead, use the individual POST/PUT endpoints documented at the Orders Update API. These endpoints ensure orders are properly queued and workflows are triggered.
Batch import orders should only be used when importing from external systems for orders that don't need to trigger workflows, such as:
- Historical order imports from legacy systems
- POS orders that are already fulfilled
- Reporting/analytics data imports
Benefits:
- Process multiple orders in a single API call
- Reduced overhead and faster processing
- Better error handling with batch results
Customer Import
Use the batch endpoint to add or update multiple customers efficiently:
⚠️ Important
Batch endpoints (*Many endpoints) should be executed synchronously, not in high parallel. Running multiple batch operations simultaneously, especially for the same entity type, may lead to temporary throttling or trigger stricter rate limits. Process batches sequentially to ensure smooth sailing.
Summary
Batch endpoints = performance, reliability, and fewer API calls.
- Inventory →
UpdateMany - Products →
PatchManyorUpdateMany - Prices →
AddMany - Orders →
ImportMany - Customers →
AddOrUpdateMany
Batch sizes (starting points):
| Entity | Recommended Batch | Notes |
|---|---|---|
| Inventory | 1000 | Optimized for high volume |
| Products | 500 | Reduce for complex product data |
| Orders | 250–500 | Lower if orders have many lines |
| Customers | 500 | Adjust for complex B2B data |
| Prices | 500–2000 | Larger batches OK for separate prices |
💡 Tune batch sizes based on your own API timings and entity complexity.
Batch operations save both time and API overhead — and keep your integrations predictable even under heavy load.
Next Steps
Now that you understand data import patterns:
- Review the Data Out for export strategies
- Check out the Quick Start Guide for end-to-end examples
