curl --request POST \
--url https://omnicommerce.sg/api/v1/zalora/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"productSetIds": [
"1001",
"1002"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({productSetIds: ['1001', '1002']})
};
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"
payload = { "productSetIds": ["1001", "1002"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"status": "accepted",
"jobId": "<string>",
"links": {},
"data": {
"success": true,
"queued": true,
"productSetIds": [
"<string>"
],
"jobIds": [
"<string>"
],
"succeededCount": 1,
"failedCount": 1,
"results": [
{
"productSetId": "<string>",
"success": true,
"jobId": "<string>"
}
],
"storeId": "<string>",
"correlations": [
{}
]
},
"apiVersion": "<string>",
"operationId": "<string>",
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
]
}Import Selected Zalora Products
Requires catalog:write. Queue an exact import of 1–25 Zalora productSetIds from a connected store. Omit storeId only when one store or one default store is unambiguous.
Returns 202 with links.job for optional status checks and retrieval of Omni product IDs. Only one import may run per store at a time. This endpoint does not invoke an AOP, enrich products, or publish listings.
curl --request POST \
--url https://omnicommerce.sg/api/v1/zalora/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"productSetIds": [
"1001",
"1002"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({productSetIds: ['1001', '1002']})
};
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"
payload = { "productSetIds": ["1001", "1002"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"status": "accepted",
"jobId": "<string>",
"links": {},
"data": {
"success": true,
"queued": true,
"productSetIds": [
"<string>"
],
"jobIds": [
"<string>"
],
"succeededCount": 1,
"failedCount": 1,
"results": [
{
"productSetId": "<string>",
"success": true,
"jobId": "<string>"
}
],
"storeId": "<string>",
"correlations": [
{}
]
},
"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.
Body
Zalora productSetIds to import. Values are trimmed and de-duplicated while preserving order.
1 - 25 elements1 - 255Connected Zalora store/account ID. Omit when the organization has exactly one Zalora store or one default Zalora store.
1 - 255Required for session auth; derived from the credential for bearer auth.
1 - 255