curl --request POST \
--url https://omnicommerce.sg/api/v1/products/{productId}/publish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"marketplaces": [
"shopee",
"lazada"
],
"updateFields": [
"name",
"description",
"images"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
marketplaces: ['shopee', 'lazada'],
updateFields: ['name', 'description', 'images']
})
};
fetch('https://omnicommerce.sg/api/v1/products/{productId}/publish', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/products/{productId}/publish"
payload = {
"marketplaces": ["shopee", "lazada"],
"updateFields": ["name", "description", "images"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"apiVersion": "developer_v1",
"operationId": "<string>",
"status": "accepted",
"productId": "<string>",
"jobId": "<string>",
"data": {
"queued": true,
"jobBatchId": "<string>",
"results": [
{
"ok": true,
"productId": "<string>",
"queued": true,
"sourceProductId": "<string>",
"productName": "<string>",
"marketplace": "lazada",
"action": "created",
"visibility": "live",
"updateFields": [
"name"
],
"jobId": "<string>",
"error": "<string>",
"status": 123,
"message": "<string>",
"correlations": [
{
"kind": "inventory_job",
"id": "<string>",
"platform": "lazada",
"storeId": "<string>",
"productId": "<string>"
}
]
}
]
}
}Publish Product
Publishing
Queue durable marketplace publish/update jobs for a product. Omit marketplaces to use every enabled or already listed marketplace, or name the marketplaces to target. Omit updateFields for a full publish with live/draft visibility. Set updateFields to update only saved values for those fields on existing listings with assigned stores; other fields and listing visibility stay unchanged. No new listing is created by a selected-field update.
Marketplace capabilities
SEO is Shopify-only; highlights support Lazada, TikTok and Amazon; attributes exclude WhatsApp. Category-only updates require a full publish on TikTok and Amazon. Unsupported combinations and missing listings/stores return explicit per-marketplace failures while valid targets continue.
Completion
Accepted means queued; inspect every result and await every jobId and inventory correlation with jobs.wait, then verify the listings.
curl --request POST \
--url https://omnicommerce.sg/api/v1/products/{productId}/publish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"marketplaces": [
"shopee",
"lazada"
],
"updateFields": [
"name",
"description",
"images"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
marketplaces: ['shopee', 'lazada'],
updateFields: ['name', 'description', 'images']
})
};
fetch('https://omnicommerce.sg/api/v1/products/{productId}/publish', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/products/{productId}/publish"
payload = {
"marketplaces": ["shopee", "lazada"],
"updateFields": ["name", "description", "images"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"apiVersion": "developer_v1",
"operationId": "<string>",
"status": "accepted",
"productId": "<string>",
"jobId": "<string>",
"data": {
"queued": true,
"jobBatchId": "<string>",
"results": [
{
"ok": true,
"productId": "<string>",
"queued": true,
"sourceProductId": "<string>",
"productName": "<string>",
"marketplace": "lazada",
"action": "created",
"visibility": "live",
"updateFields": [
"name"
],
"jobId": "<string>",
"error": "<string>",
"status": 123,
"message": "<string>",
"correlations": [
{
"kind": "inventory_job",
"id": "<string>",
"platform": "lazada",
"storeId": "<string>",
"productId": "<string>"
}
]
}
]
}
}Authorizations
Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.
Path Parameters
OmniCommerce product ID to publish.
Body
Optional for API-key requests; required for session-authenticated requests across multiple organizations.
Optional marketplaces to publish/update. Omit to target every enabled or already listed marketplace. Duplicates are removed in first-requested order.
1 - 8 elementslazada, shopee, tiktok, shopify, whatsapp, zalora, amazon, ebay Optional fields to publish from saved product data to existing listings only. Omit for all fields. Other fields and listing visibility remain unchanged. Empty/unknown fields are rejected; duplicates are removed. Platform capability limits appear in per-target results.
1 - 9 elementsname, description, images, category, attributes, highlights, seo, price, inventory Publish visibility mode.
live, draft