Draft Review Reply
curl --request POST \
--url https://omnicommerce.sg/api/v1/reviews/{reviewId}/draft-reply \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.sg/api/v1/reviews/{reviewId}/draft-reply', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/reviews/{reviewId}/draft-reply"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"ok": true,
"apiVersion": "developer_v1",
"operationId": "<string>",
"status": "accepted",
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
],
"links": {},
"data": {
"reply": "<string>",
"model": "<string>"
},
"jobId": "<string>",
"productId": "<string>"
}Reviews
Draft Review Reply
Draft a reply with AI from the review, the product, recent replies, and the brand kit. Uses AI credits. Requires reviews:write.
Nothing is posted; send the text with POST /api/v1/reviews/actions.
POST
/
api
/
v1
/
reviews
/
{reviewId}
/
draft-reply
Draft Review Reply
curl --request POST \
--url https://omnicommerce.sg/api/v1/reviews/{reviewId}/draft-reply \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.sg/api/v1/reviews/{reviewId}/draft-reply', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/reviews/{reviewId}/draft-reply"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"ok": true,
"apiVersion": "developer_v1",
"operationId": "<string>",
"status": "accepted",
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
],
"links": {},
"data": {
"reply": "<string>",
"model": "<string>"
},
"jobId": "<string>",
"productId": "<string>"
}Authorizations
Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.
Path Parameters
Query Parameters
Required for session auth. API keys already belong to one organization.
Maximum string length:
160Response
The drafted reply.
Allowed value:
"developer_v1"Available options:
accepted, completed, failed Show child attributes
Show child attributes
Show child attributes
Show child attributes