Diagnose Review Product Publishing
curl --request POST \
--url https://omnicommerce.ai/api/v1/review-queue/{batchId}/diagnose \
--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}/diagnose', 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}/diagnose"
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,
"productIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"succeededCount": 123,
"failedCount": 123,
"results": [
{
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"success": true,
"stores": [
{
"marketplace": "shopee",
"storeId": "<string>",
"success": true,
"country": "<string>",
"categoryId": "<string>",
"attributes": [
{
"attributeId": "<string>",
"key": "<string>",
"label": "<string>",
"required": true,
"missing": true,
"inputType": "<string>",
"value": "<unknown>",
"options": [
{
"value": "<string>",
"label": "<string>"
}
],
"optionCount": 123,
"hasMoreOptions": true,
"nextOptionOffset": 123
}
],
"latestPublish": {
"jobId": "<string>",
"status": "<string>",
"requestedAt": "<string>",
"error": {
"message": "<string>",
"code": "<string>",
"requestId": "<string>",
"httpStatus": 123
}
},
"publishReady": true,
"requirements": [
{
"marketplace": "<string>",
"missingFields": [
"<string>"
],
"message": "<string>",
"attributeConflicts": [
"<string>"
],
"missingVariantLabels": [
"<string>"
]
}
],
"error": "<string>"
}
],
"storeCount": 123,
"hasMoreStores": true,
"nextStoreOffset": 123,
"error": "<string>",
"rootProductId": "<string>",
"product": {
"id": "<string>",
"name": "<string>",
"sku": "<string>",
"description": "<string>",
"brand": "<string>",
"highlights": [
"<string>"
],
"weight": 123,
"dimensions": {
"length": 123,
"width": 123,
"height": 123
},
"images": [
"<unknown>"
],
"updatedAt": "<string>"
},
"variants": [
{
"id": "<string>",
"sku": "<unknown>",
"name": "<unknown>",
"variationAttributes": "<unknown>",
"weight": 123,
"dimensions": {
"length": 123,
"width": 123,
"height": 123
}
}
],
"variantCount": 123,
"hasMoreVariants": true,
"nextVariantOffset": 123
}
]
},
"links": {},
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
]
}Review Queue
Diagnose Review Product Publishing
Requires catalog:read. Diagnose 1–25 exact review product or physical variant IDs. Returns current canonical shipping measurements (grams and cm), product facts and images, variant values, exact store/category fields, required/missing attributes, allowed options and the latest publish job’s message, code and request ID. No raw provider request bodies or credentials are exposed. Store, variant and attribute-option pages have explicit continuation offsets. success means diagnosis completed; publishReady describes saved catalog validation and does not promise marketplace acceptance. Only targets belonging to this organization and review are accessible.
POST
/
api
/
v1
/
review-queue
/
{batchId}
/
diagnose
Diagnose Review Product Publishing
curl --request POST \
--url https://omnicommerce.ai/api/v1/review-queue/{batchId}/diagnose \
--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}/diagnose', 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}/diagnose"
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,
"productIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"succeededCount": 123,
"failedCount": 123,
"results": [
{
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"success": true,
"stores": [
{
"marketplace": "shopee",
"storeId": "<string>",
"success": true,
"country": "<string>",
"categoryId": "<string>",
"attributes": [
{
"attributeId": "<string>",
"key": "<string>",
"label": "<string>",
"required": true,
"missing": true,
"inputType": "<string>",
"value": "<unknown>",
"options": [
{
"value": "<string>",
"label": "<string>"
}
],
"optionCount": 123,
"hasMoreOptions": true,
"nextOptionOffset": 123
}
],
"latestPublish": {
"jobId": "<string>",
"status": "<string>",
"requestedAt": "<string>",
"error": {
"message": "<string>",
"code": "<string>",
"requestId": "<string>",
"httpStatus": 123
}
},
"publishReady": true,
"requirements": [
{
"marketplace": "<string>",
"missingFields": [
"<string>"
],
"message": "<string>",
"attributeConflicts": [
"<string>"
],
"missingVariantLabels": [
"<string>"
]
}
],
"error": "<string>"
}
],
"storeCount": 123,
"hasMoreStores": true,
"nextStoreOffset": 123,
"error": "<string>",
"rootProductId": "<string>",
"product": {
"id": "<string>",
"name": "<string>",
"sku": "<string>",
"description": "<string>",
"brand": "<string>",
"highlights": [
"<string>"
],
"weight": 123,
"dimensions": {
"length": 123,
"width": 123,
"height": 123
},
"images": [
"<unknown>"
],
"updatedAt": "<string>"
},
"variants": [
{
"id": "<string>",
"sku": "<unknown>",
"name": "<unknown>",
"variationAttributes": "<unknown>",
"weight": 123,
"dimensions": {
"length": 123,
"width": 123,
"height": 123
}
}
],
"variantCount": 123,
"hasMoreVariants": true,
"nextVariantOffset": 123
}
]
},
"links": {},
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
]
}Authorizations
Body
application/json
Response
Ordered product diagnoses with explicit per-store metadata failures.