Send
Authorization: Bearer $OMNI_API_KEY. Organization ownership comes from the credential. For session authentication, include organizationId in the JSON body or status query.
Import selected Zalora products
productSetIds are Zalora IDs. storeId is the connected Zalora store/account ID, not a token-record ID. You may omit the store when exactly one connected store or one default store is available.
The API accepts 1–25 entries, trims them, and removes duplicates while preserving order. HTTP 202 returns jobId, links.job, and data containing the normalized IDs, job correlations, and ordered per-target queue receipts. Queue acceptance does not establish import completion.
Follow the returned links.job URL unchanged with the same bearer credential. This performs one status read. Inspect data.terminal and data.success; the envelope’s status: "completed" means only the status request finished. While the import is pending, check the same URL again after a delay. It contains the original target selection used to resolve product IDs; editing the URL does not change the import.
A completed successful result includes:
data.error and data.missingExternalIds on failure. Partial imports are not reported as successful. Only one import may be active for a store; a competing request returns 409. For 500 product-set IDs, process batches of at most 25, finishing each import before starting the next for that store.
Queue enrichment and stop
If you already have Omni product IDs, call this endpoint directly. Otherwise, finish the import first and use its returneddata.productIds. Import job IDs and Zalora product-set IDs are not Omni product IDs.
202 once the batch has been queued. No enrichment wait or publishing call is required.
The response contains data.productIds, data.jobIds, data.batchJobId, data.enrichmentBatchId, ordered data.results, and links.review. data.succeededCount counts accepted targets, not completed enrichments. Save the receipt to track the request and open the Review link to inspect results later.
selectedFields: ["description"]excludes the product name from application, preserving the title. The shared enrichment service always includes weight and dimensions. This endpoint does not queue gallery image or marketplace taxonomy workflows.autoApplyHighConfidencedefaults tofalse. Whentrue, qualifying proposals can update the Omni catalog automatically.enrichmentAutoApplyThresholdaccepts 0.62–1; omit it to use the organization’s threshold. Lower confidence or blocking issues leave proposals in Review.- Request instructions constrain generated copy. Review the generated description for content requirements such as excluding warranty and return information.
- This endpoint does not publish changes to marketplaces. It does not need
await_commerce_jobsor an AOP. - Do not blindly resubmit after a network timeout: the batch may already exist. Inspect Review before retrying. Concurrent enrichment of the same product can return
409.
Windmill queue-only script
Bindomni to your authorized connection configuration, with apiKey supplied from secret storage. Pass the complete productIds array directly to the script, including all 500 IDs if needed.