Skip to navigation

Submit a batch of products for ingestion

Submits a batch of products (duty-free, food and beverage, retail) for asynchronous ingestion into your product corpus. Send at least 1 and at most 500 products per request; a larger corpus is split across requests. The call is accepted immediately with a job id (202) and processed in the background — poll the product job-status endpoint for progress, the outcome report, and the mapping from each submitted external product id to its platform product id. Supply an optional Idempotency-Key header to make retries safe: a repeated request with the same key, or with identical content, resolves to the same job rather than ingesting twice. The tenant is resolved from your credential and is never sent on the request. Every product must carry a price and a three-letter currency code; a product with no price is rejected rather than defaulted, and a batch mixing currencies is rejected whole rather than converted. Re-submitting a product under the same external id updates it, and every field you send wins — including the always-required name, category, price, and currency — so always re-submit from current state, never from a cached copy: a stale value in any sent field replaces the stored one without warning. Note that 429 has two distinct causes on this endpoint and they carry different bodies: exceeding your usage ceiling returns the documented ceiling-exceeded body, while exceeding the per-client request rate returns the standard error envelope with a Retry-After header. Branch on the body shape, not on the status code alone.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Headers

Idempotency-KeystringOptional

Optional. A caller-chosen key that makes a retried submission safe: a repeated request with the same key resolves to the same job. Absent, identical content is deduplicated instead.

Request

This endpoint expects an object.
sourceSystemstringRequired

The caller’s id-namespace token: 1-64 characters of lowercase letters, digits, and hyphens (e.g. “partner-cms”). Names the source system every submitted external product id is scoped to — the same external id under two source systems is two different identities.

itemslist of objectsRequired

The products to ingest — at least 1, at most 500 per request (a larger corpus is submitted as multiple batches). An oversized batch is rejected whole (“ingest.batch_too_large”), never partially ingested.

Response

Accepted
jobIdstring

Server-minted job identifier, scoped to the caller’s tenant — poll the matching job-status endpoint with it. Another tenant’s job id does not exist for this caller.

statusstring

The job’s initial lifecycle state — always “queued” at acceptance.

schemaVersionstringOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error