Pool Overview

Lidia PIM · API Reference · Pool / Batch Ingestion

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: v1Category schema: v2
01 · Architecture

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.

  1. 01 · DiscoverCategory schemaRetrieve mandatory attributes, allowed values and variant options.
  2. 02 · SubmitCreate batch jobSend records and obtain the returned JobId.
  3. 03 · VerifyCheck statusPoll job status and review validation before importing.
  4. 04 · ImportPublish & clean upImport valid data, handle images as needed, then clean up jobs.
Version distinction

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/....

02 · Endpoint map

Pool services and sequence

OperationMethodPathLimit / 60s (endpoint / AppKey)
Find Category Data SchemaPOST/api/v2/categories/dataschema600 / 60
SubmitBatchPOST/api/v1/pool/batch/submitStandard service
GetBatchStatusPOST/api/v1/pool/batch/status/{jobId}Standard service
ImportBatchPOST/api/v1/pool/batch/importStandard service
ImportBatchImagesPOST/api/v1/pool/batch/imagesStandard service
CleanupBatchJobsPOST/api/v1/pool/batch/cleanupStandard 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.

03 · Request conventions

Authentication and payload rules

Request typeRequired fields / rules
All PIM requestsClientId and AppKey at the JSON body root, not as authentication headers.
Metadata commandsEnvironment, SessionId, UserToken in addition to credentials, as specified for the endpoint.
Query, search and poolNo metadata-command fields required by the supplied specification; use ClientId / AppKey.
TracingOptional ThreadId; the service generates one if omitted.
JSON conventionUse exact PascalCase request fields such as CategoryId, SortOrder, Skip and Take.
Batch-specific scope

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.

04 · Quick start

Batch request examples

1 · POST /api/v1/pool/batch/submit
{
  "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.

05 · Practical guidance

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.

Idempotency and retry policy

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.

06 · Operations

Troubleshooting and rate limits

HTTPMeaningWhat to check
400Bad RequestRequired fields, metadata session values, category schema and the errors array.
401UnauthorizedRoot-level ClientId and AppKey, plus access permission.
404Not FoundRecord or relationship ID and tenant context.
429Too Many RequestsUse Retry-After and retry with backoff.
500Internal Server ErrorCapture 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.