curl --request GET \
--url https://omnicommerce.sg/api/v1/zalora/import \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.sg/api/v1/zalora/import', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/zalora/import"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"ok": true,
"status": "completed",
"jobId": "<string>",
"links": {},
"data": {
"id": "<string>",
"status": "pending",
"terminal": true,
"success": true,
"productIds": [
"<string>"
],
"kind": "zalora_import",
"externalIds": [
"<string>"
],
"missingExternalIds": [
"<string>"
],
"storeId": "<string>",
"error": "<string>",
"message": "<string>"
},
"apiVersion": "<string>",
"operationId": "<string>",
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
]
}Get Selected Zalora Import Status
Requires catalog:read. Follow the unchanged links.job URL returned by POST. Reads current state once without waiting.
Completion
data.status is pending, running, success, or error; data.terminal and data.success identify completion. data.productIds contains mapped Omni IDs for the supplied product sets. Failed imports remain explicit, including missingExternalIds. The top-level completed status describes this status request, not the import.
Keep the original target IDs: the status lookup resolves those targets and does not prove that a modified selection was part of this job.
curl --request GET \
--url https://omnicommerce.sg/api/v1/zalora/import \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.sg/api/v1/zalora/import', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/zalora/import"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"ok": true,
"status": "completed",
"jobId": "<string>",
"links": {},
"data": {
"id": "<string>",
"status": "pending",
"terminal": true,
"success": true,
"productIds": [
"<string>"
],
"kind": "zalora_import",
"externalIds": [
"<string>"
],
"missingExternalIds": [
"<string>"
],
"storeId": "<string>",
"error": "<string>",
"message": "<string>"
},
"apiVersion": "<string>",
"operationId": "<string>",
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
]
}Authorizations
Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.
Query Parameters
Required for session auth; derived from the credential for bearer auth.
1 - 255^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$1 - 255Zalora productSetIds to import. Values are trimmed and de-duplicated while preserving order.
1 - 25 elements1 - 255Response
Current import state; inspect data.terminal and data.success.