Publish Review Queue Products
curl --request POST \
--url https://omnicommerce.ai/api/v1/review-queue/{batchId}/publish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"productIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({productIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a']})
};
fetch('https://omnicommerce.ai/api/v1/review-queue/{batchId}/publish', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/review-queue/{batchId}/publish"
payload = { "productIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"apiVersion": "<string>",
"operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "completed",
"data": {
"success": true,
"succeededCount": 4503599627370495,
"failedCount": 4503599627370495,
"queued": true,
"productIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"correlations": [
{
"kind": "publish_job",
"id": "<string>"
}
],
"results": [
{
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"success": true,
"listings": [
{
"ok": true,
"productId": "<string>",
"platform": "shopee",
"storeId": "<string>",
"jobId": "<string>",
"queued": true,
"error": "<string>",
"blockingReason": "<string>"
}
],
"error": "<string>"
}
],
"jobBatchId": "<string>"
},
"links": {},
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
]
}{
"ok": true,
"apiVersion": "<string>",
"operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "accepted",
"data": {
"success": true,
"succeededCount": 4503599627370495,
"failedCount": 4503599627370495,
"queued": true,
"productIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"correlations": [
{
"kind": "publish_job",
"id": "<string>"
}
],
"results": [
{
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"success": true,
"listings": [
{
"ok": true,
"productId": "<string>",
"platform": "shopee",
"storeId": "<string>",
"jobId": "<string>",
"queued": true,
"error": "<string>",
"blockingReason": "<string>"
}
],
"error": "<string>"
}
],
"jobBatchId": "<string>"
},
"links": {},
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
]
}Review Queue
Publish Review Queue Products
Requires catalog:sync.
Specify productIds and visibility. Only products with all review scopes applied and outstanding releases to assigned marketplace stores are eligible. Optionally filter by marketplaces and exact storeTargets to publish only repaired or failed stores. Inspect every product and listing result for preparation failures. HTTP 202 confirms queue acceptance. Pass every returned correlation to POST /api/v1/commerce/jobs/await and verify marketplace state before reporting publication.
POST
/
api
/
v1
/
review-queue
/
{batchId}
/
publish
Publish Review Queue Products
curl --request POST \
--url https://omnicommerce.ai/api/v1/review-queue/{batchId}/publish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"productIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({productIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a']})
};
fetch('https://omnicommerce.ai/api/v1/review-queue/{batchId}/publish', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/review-queue/{batchId}/publish"
payload = { "productIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"apiVersion": "<string>",
"operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "completed",
"data": {
"success": true,
"succeededCount": 4503599627370495,
"failedCount": 4503599627370495,
"queued": true,
"productIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"correlations": [
{
"kind": "publish_job",
"id": "<string>"
}
],
"results": [
{
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"success": true,
"listings": [
{
"ok": true,
"productId": "<string>",
"platform": "shopee",
"storeId": "<string>",
"jobId": "<string>",
"queued": true,
"error": "<string>",
"blockingReason": "<string>"
}
],
"error": "<string>"
}
],
"jobBatchId": "<string>"
},
"links": {},
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
]
}{
"ok": true,
"apiVersion": "<string>",
"operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "accepted",
"data": {
"success": true,
"succeededCount": 4503599627370495,
"failedCount": 4503599627370495,
"queued": true,
"productIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"correlations": [
{
"kind": "publish_job",
"id": "<string>"
}
],
"results": [
{
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"success": true,
"listings": [
{
"ok": true,
"productId": "<string>",
"platform": "shopee",
"storeId": "<string>",
"jobId": "<string>",
"queued": true,
"error": "<string>",
"blockingReason": "<string>"
}
],
"error": "<string>"
}
],
"jobBatchId": "<string>"
},
"links": {},
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
]
}Authorizations
Body
application/json
Response
Publish preparation results when no jobs were queued.