catalog
PATCH
https://hermeticor.com /v1/web-feeds/{id} Parameters
idstringpathrequiredRequest body
application/json
namestringurlstringformatstringrefreshHoursintegermethodstringrequestBodystring{
"name": "string",
"url": "string",
"format": "json",
"refreshHours": 0,
"method": "GET",
"requestBody": "string"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/web-feeds/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","url":"string","format":"json","refreshHours":0,"method":"GET","requestBody":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"name": "string",
"url": "string",
"format": "json",
"refreshHours": 0,
"method": "GET",
"requestBody": "string",
"lastFetchedAt": "2024-01-01T00:00:00Z",
"lastError": "string",
"cached": true
}Schema
idstringrequirednamestringrequiredurlstringrequiredformatstringrequiredrefreshHoursintegerrequiredmethodstringrequiredrequestBodystringrequiredlastFetchedAtstringrequiredlastErrorstringrequiredcachedbooleanrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/web-feeds/{id}/refresh Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/web-feeds/{id}/refresh" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredGET
https://hermeticor.com /v1/reviews Parameters
limitintegerquerycursorstringquerystatusstringqueryproductIdstringqueryprofileIdstringqueryreviewTypestringqueryratingintegerqueryminRatingintegerqueryverifiedstringqueryhasMediastringqueryhasReplystringqueryqstringquerycreatedFromstringquerycreatedTostringqueryupdatedFromstringqueryupdatedTostringquerysortstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/reviews" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"productId": "string",
"profileId": "string",
"authorName": "string",
"rating": 0,
"title": "string",
"body": "string",
"status": "pending",
"verified": true,
"source": "string",
"reviewType": "review",
"images": [
"string"
],
"publicReply": "string",
"publicReplyAt": "2024-01-01T00:00:00Z",
"rejectionReason": "string",
"reviewerEmail": "string",
"orderId": "string",
"rewardCode": "string",
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem96[]requiredShow child parameters
idstringrequiredproductIdstringrequiredprofileIdstringrequiredauthorNamestringrequiredratingintegerrequiredtitlestringrequiredbodystringrequiredstatusstringrequiredverifiedbooleanrequiredsourcestringrequiredreviewTypestringrequiredimagesstring[]requiredpublicReplystringrequiredpublicReplyAtstringrequiredrejectionReasonstringrequiredreviewerEmailstringrequiredorderIdstringrequiredrewardCodestringrequiredcreatedAtstringrequiredupdatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/reviews Ingest a review (pending unless status is set); emits review_created for the profile
Request body
application/json
productIdstringrequiredreviewTypestringratingintegertitlestringbodystringauthorNamestringprofileIdstringverifiedbooleanstatusstringimagesstring[]reviewerEmailstringorderIdstringpublicReplystring{
"productId": "string",
"reviewType": "review",
"rating": 0,
"title": "string",
"body": "string",
"authorName": "string",
"profileId": "string",
"verified": true,
"status": "pending",
"images": [],
"reviewerEmail": "string",
"orderId": "string",
"publicReply": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/reviews" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"productId":"string","reviewType":"review","rating":0,"title":"string","body":"string","authorName":"string","profileId":"string","verified":true,"status":"pending","images":[],"reviewerEmail":"string","orderId":"string","publicReply":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"productId": "string",
"profileId": "string",
"authorName": "string",
"rating": 0,
"title": "string",
"body": "string",
"status": "pending",
"verified": true,
"source": "string",
"reviewType": "review",
"images": [
"string"
],
"publicReply": "string",
"publicReplyAt": "2024-01-01T00:00:00Z",
"rejectionReason": "string",
"reviewerEmail": "string",
"orderId": "string",
"rewardCode": "string",
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredproductIdstringrequiredprofileIdstringrequiredauthorNamestringrequiredratingintegerrequiredtitlestringrequiredbodystringrequiredstatusstringrequiredverifiedbooleanrequiredsourcestringrequiredreviewTypestringrequiredimagesstring[]requiredpublicReplystringrequiredpublicReplyAtstringrequiredrejectionReasonstringrequiredreviewerEmailstringrequiredorderIdstringrequiredrewardCodestringrequiredcreatedAtstringrequiredupdatedAtstringrequiredGET
https://hermeticor.com /v1/reviews/aggregates Published-review count, average and histogram per product
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/reviews/aggregates" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"productId": "string",
"count": 0,
"average": 0,
"histogram": {}
}
],
"nextCursor": "string"
}Schema
itemsItemsItem80[]requiredShow child parameters
productIdstringrequiredcountintegerrequiredaveragenumberrequiredhistogramobjectrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/reviews/aggregates/{productId} Parameters
productIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/reviews/aggregates/{productId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"productId": "string",
"count": 0,
"average": 0,
"histogram": {}
}Schema
productIdstringrequiredcountintegerrequiredaveragenumberrequiredhistogramobjectrequiredGET
https://hermeticor.com /v1/reviews/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/reviews/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/reviews/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/reviews/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated