catalog
GET
https://hermeticor.com /v1/catalog/feeds Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/catalog/feeds" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"url": "string",
"format": "json",
"refreshHours": 0,
"lastSyncedAt": "2024-01-01T00:00:00Z",
"lastError": "string",
"itemCount": 0
}
],
"nextCursor": "string"
}Schema
itemsItemsItem89[]requiredShow child parameters
idstringrequirednamestringrequiredurlstringrequiredformatstringrequiredrefreshHoursintegerrequiredlastSyncedAtstringrequiredlastErrorstringrequireditemCountintegerrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/catalog/feeds Register a JSON/CSV/Google Merchant feed; the first sync is queued immediately
Request body
application/json
namestringrequiredurlstringrequiredformatstringrequiredrefreshHoursinteger{
"name": "string",
"url": "string",
"format": "json",
"refreshHours": 24
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/catalog/feeds" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","url":"string","format":"json","refreshHours":24}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"url": "string",
"format": "json",
"refreshHours": 0,
"lastSyncedAt": "2024-01-01T00:00:00Z",
"lastError": "string",
"itemCount": 0
}Schema
idstringrequirednamestringrequiredurlstringrequiredformatstringrequiredrefreshHoursintegerrequiredlastSyncedAtstringrequiredlastErrorstringrequireditemCountintegerrequiredDELETE
https://hermeticor.com /v1/catalog/feeds/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/catalog/feeds/{id}" \
-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/catalog/feeds/{id}/items Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/catalog/feeds/{id}/items" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"feedId": "string",
"externalId": "string",
"title": "string",
"url": "string",
"imageUrl": "string",
"priceMinor": 0,
"currency": "string",
"inventory": 0
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequiredfeedIdstringrequiredexternalIdstringrequiredtitlestringrequiredurlstringrequiredimageUrlstringrequiredpriceMinorintegerrequiredcurrencystringrequiredinventoryintegerrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/catalog/subscriptions Notify a profile (by id, email or phone; one variant or the whole product; by email, SMS or push) when the product is back in stock or drops in price
Request body
application/json
profileIdstringemailstringphonestringexternalIdstringrequiredkindstringrequiredvariantIdstringchannelstring{
"profileId": "string",
"email": "string",
"phone": "string",
"externalId": "string",
"kind": "back_in_stock",
"variantId": "string",
"channel": "email"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/catalog/subscriptions" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"profileId":"string","email":"string","phone":"string","externalId":"string","kind":"back_in_stock","variantId":"string","channel":"email"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"ok": true,
"profileId": "string"
}Schema
okbooleanrequiredprofileIdstringrequiredGET
https://hermeticor.com /v1/coupon-pools Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/coupon-pools" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"kind": "string",
"lowStockThreshold": 0,
"total": 0,
"available": 0,
"description": "string",
"discountType": "string",
"amount": 0,
"target": "string",
"startsAt": "2024-01-01T00:00:00Z",
"endsAt": "2024-01-01T00:00:00Z",
"enabled": true,
"redemptionUrl": "string",
"maxUses": 0
}
],
"nextCursor": "string"
}Schema
itemsItemsItem90[]requiredShow child parameters
idstringrequirednamestringrequiredkindstringrequiredlowStockThresholdintegerrequiredtotalintegerrequiredavailableintegerrequireddescriptionstringrequireddiscountTypestringrequiredamountintegerrequiredtargetstringrequiredstartsAtstringrequiredendsAtstringrequiredenabledbooleanrequiredredemptionUrlstringrequiredmaxUsesintegerrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/coupon-pools Request body
application/json
namestringrequiredkindstringlowStockThresholdintegerdescriptionstringdiscountTypestringamountintegertargetstringstartsAtstringendsAtstringenabledbooleanredemptionUrlstringmaxUsesinteger{
"name": "string",
"kind": "unique",
"lowStockThreshold": 100,
"description": "string",
"discountType": "fixed",
"amount": 0,
"target": "per_item",
"startsAt": "2024-01-01T00:00:00Z",
"endsAt": "2024-01-01T00:00:00Z",
"enabled": true,
"redemptionUrl": "string",
"maxUses": 1
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/coupon-pools" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","kind":"unique","lowStockThreshold":100,"description":"string","discountType":"fixed","amount":0,"target":"per_item","startsAt":"2024-01-01T00:00:00Z","endsAt":"2024-01-01T00:00:00Z","enabled":true,"redemptionUrl":"string","maxUses":1}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"kind": "string",
"lowStockThreshold": 0,
"total": 0,
"available": 0,
"description": "string",
"discountType": "string",
"amount": 0,
"target": "string",
"startsAt": "2024-01-01T00:00:00Z",
"endsAt": "2024-01-01T00:00:00Z",
"enabled": true,
"redemptionUrl": "string",
"maxUses": 0
}Schema
idstringrequirednamestringrequiredkindstringrequiredlowStockThresholdintegerrequiredtotalintegerrequiredavailableintegerrequireddescriptionstringrequireddiscountTypestringrequiredamountintegerrequiredtargetstringrequiredstartsAtstringrequiredendsAtstringrequiredenabledbooleanrequiredredemptionUrlstringrequiredmaxUsesintegerrequiredUpdated