Importing data with Pool Batch
Use the asynchronous Pool Batch workflow to submit new or high-volume product and variant data, verify the batch result, import validated records and clean up temporary jobs. The pool endpoints remain under API v1, alongside standard v2 catalog operations.
Pool Batch ingestion lifecycle
Pool processing is staged rather than a single synchronous product-create operation. Discover category requirements first; then submit, monitor and import a validated batch.
- 01 · DiscoverCategory schemaRetrieve mandatory attributes, allowed values and variant options.
- 02 · SubmitCreate batch jobSend records and obtain the returned JobId.
- 03 · VerifyCheck statusPoll job status and review validation before importing.
- 04 · ImportPublish & clean upImport valid data, handle images as needed, then clean up jobs.
The Pool Batch routes documented here use /api/v1/pool/batch/... (or the documented /pool/batch/... alias). Standard catalog metadata, query and schema operations are documented under /api/v2/....
Pool services and sequence
| Operation | Method | Path | Limit / 60s (endpoint / AppKey) |
|---|---|---|---|
| Find Category Data Schema | POST | /api/v2/categories/dataschema | 600 / 60 |
| SubmitBatch | POST | /api/v1/pool/batch/submit | Standard service |
| GetBatchStatus | POST | /api/v1/pool/batch/status/{jobId} | Standard service |
| ImportBatch | POST | /api/v1/pool/batch/import | Standard service |
| ImportBatchImages | POST | /api/v1/pool/batch/images | Standard service |
| CleanupBatchJobs | POST | /api/v1/pool/batch/cleanup | Standard service |
The source labels Pool Batch routes as standard services without numeric rate-limit quotas. This does not mean calls are unlimited. Consult the current API configuration for operational thresholds.
Authentication and payload rules
| Request type | Required fields / rules |
|---|---|
| All PIM requests | ClientId and AppKey at the JSON body root, not as authentication headers. |
| Metadata commands | Environment, SessionId, UserToken in addition to credentials, as specified for the endpoint. |
| Query, search and pool | No metadata-command fields required by the supplied specification; use ClientId / AppKey. |
| Tracing | Optional ThreadId; the service generates one if omitted. |
| JSON convention | Use exact PascalCase request fields such as CategoryId, SortOrder, Skip and Take. |
Pool and query requests do not require the metadata command fields Environment, SessionId or UserToken according to the supplied documentation. Always use the body-level ClientId and AppKey.
Submission fields
ComponentId, CategoryId, PartnerId, FromType and Items appear in the provided submit example.
Optional image input
The submission example includes ExternalImages with ItemCode, an absolute Url and SortOrder.
Batch request examples
{
"ClientId": "YOUR_CLIENT_ID",
"AppKey": "YOUR_APP_KEY",
"ComponentId": 1,
"CategoryId": 12,
"PartnerId": 101,
"FromType": 2,
"Items": [
{
"Code": "PRD-ANC-PRO",
"Name": "Wireless Headphones ANC Pro",
"Barcode": "8690000001001",
"TaxRate": 20.0
}
],
"ExternalImages": [
{
"ItemCode": "PRD-ANC-PRO",
"Url": "https://cdn.example.com/products/anc-front.jpg",
"SortOrder": 1
}
]
}2 · POST /api/v1/pool/batch/status/{jobId}{
"ClientId": "YOUR_CLIENT_ID",
"AppKey": "YOUR_APP_KEY",
"JobId": "7f3c2a91-4b6e-4c8a-9d21-0a5e8f7b1234"
}3 · POST /api/v1/pool/batch/import{
"ClientId": "YOUR_CLIENT_ID",
"AppKey": "YOUR_APP_KEY",
"ComponentId": 1,
"JobId": "7f3c2a91-4b6e-4c8a-9d21-0a5e8f7b1234",
"PartnerId": 101,
"ImportOnlyValid": true
}4 · POST /api/v1/pool/batch/images{
"ClientId": "YOUR_CLIENT_ID",
"AppKey": "YOUR_APP_KEY",
"ComponentId": 1,
"JobId": "7f3c2a91-4b6e-4c8a-9d21-0a5e8f7b1234"
}5 · POST /api/v1/pool/batch/cleanup{
"ClientId": "YOUR_CLIENT_ID",
"AppKey": "YOUR_APP_KEY"
}The samples show the documented call shapes. Successful submission returns a job identifier; the exact status payload and polling interval should be taken from the endpoint reference.
Validation, import and cleanup
Schema first
Call /api/v2/categories/dataschema before producing category-specific product/variant attributes and option values.
Validate before import
Review the batch result and use the documented ImportOnlyValid option when importing validated records.
Image stage
Run batch/images when the batch includes image work; it is separate from the main import operation.
Job cleanup
Run batch/cleanup as part of the lifecycle to remove temporary job records.
The supplied document does not define exact retry intervals, idempotency keys, retention periods or automatic cleanup cadence for these pool routes. Confirm these details before implementing unattended production retries.
Troubleshooting and rate limits
| HTTP | Meaning | What to check |
|---|---|---|
400 | Bad Request | Required fields, metadata session values, category schema and the errors array. |
401 | Unauthorized | Root-level ClientId and AppKey, plus access permission. |
404 | Not Found | Record or relationship ID and tenant context. |
429 | Too Many Requests | Use Retry-After and retry with backoff. |
500 | Internal Server Error | Capture request context and trace information for support. |
For throttling, respect any returned Retry-After header. For failed batch records, inspect the batch status details before resubmitting or importing.