Act on Reviews
curl --request POST \
--url https://omnicommerce.sg/api/v1/reviews/actions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"targets": [
{
"reviewId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reply": "<string>"
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
targets: [{reviewId: '3c90c3cc-0d44-4b50-8888-8dd25736052a', reply: '<string>'}]
})
};
fetch('https://omnicommerce.sg/api/v1/reviews/actions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/reviews/actions"
payload = { "targets": [
{
"reviewId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reply": "<string>"
}
] }
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",
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
],
"links": {},
"data": {
"success": true,
"succeededCount": 0,
"failedCount": 0,
"results": [
{
"reviewId": "<string>",
"success": true,
"error": "<string>",
"sellerCenterUrl": "<string>"
}
]
},
"jobId": "<string>",
"productId": "<string>"
}Reviews
Act on Reviews
Reply to up to 50 reviews, or send Amazon review requests for solicitation rows. Requires reviews:write.
Each target succeeds or fails on its own; read data.results. ok is true only when every target succeeds.
POST
/
api
/
v1
/
reviews
/
actions
Act on Reviews
curl --request POST \
--url https://omnicommerce.sg/api/v1/reviews/actions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"targets": [
{
"reviewId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reply": "<string>"
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
targets: [{reviewId: '3c90c3cc-0d44-4b50-8888-8dd25736052a', reply: '<string>'}]
})
};
fetch('https://omnicommerce.sg/api/v1/reviews/actions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/reviews/actions"
payload = { "targets": [
{
"reviewId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reply": "<string>"
}
] }
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",
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
],
"links": {},
"data": {
"success": true,
"succeededCount": 0,
"failedCount": 0,
"results": [
{
"reviewId": "<string>",
"success": true,
"error": "<string>",
"sellerCenterUrl": "<string>"
}
]
},
"jobId": "<string>",
"productId": "<string>"
}Authorizations
Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.
Body
application/json
review.reply posts a seller reply. review.solicit sends an Amazon review request for a solicitation row.
Available options:
review.reply, review.solicit Required array length:
1 - 50 elementsShow child attributes
Show child attributes
Required for session auth. API keys already belong to one organization.
Required string length:
1 - 160Reply text used for every target without its own reply.
Required string length:
1 - 500Response
One result per review.
Allowed value:
"developer_v1"Available options:
accepted, completed, failed Show child attributes
Show child attributes
Show child attributes
Show child attributes