catalog
PATCH
https://hermeticor.com /v1/catalog/variants/{id} Parameters
idstringpathrequiredRequest body
application/json
skustringtitlestringpriceMinorintegercurrencystringinventoryintegerurlstringimageUrlstringpublishedbooleaninventoryPolicystringbackordersstringvisibilitystringimageThumbnailUrlstringcustomMetadataobject{
"sku": "string",
"title": "string",
"priceMinor": 0,
"currency": "string",
"inventory": 0,
"url": "string",
"imageUrl": "string",
"published": true,
"inventoryPolicy": "deny",
"backorders": "string",
"visibility": "string",
"imageThumbnailUrl": "string",
"customMetadata": {}
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/catalog/variants/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sku":"string","title":"string","priceMinor":0,"currency":"string","inventory":0,"url":"string","imageUrl":"string","published":true,"inventoryPolicy":"deny","backorders":"string","visibility":"string","imageThumbnailUrl":"string","customMetadata":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"itemId": "string",
"externalId": "string",
"sku": "string",
"title": "string",
"priceMinor": 0,
"currency": "string",
"inventory": 0,
"url": "string",
"imageUrl": "string",
"published": true,
"inventoryPolicy": "deny",
"backorders": "string",
"visibility": "string",
"imageThumbnailUrl": "string",
"customMetadata": {}
}Schema
idstringrequireditemIdstringrequiredexternalIdstringrequiredskustringrequiredtitlestringrequiredpriceMinorintegerrequiredcurrencystringrequiredinventoryintegerrequiredurlstringrequiredimageUrlstringrequiredpublishedbooleanrequiredinventoryPolicystringrequiredbackordersstringrequiredvisibilitystringrequiredimageThumbnailUrlstringrequiredcustomMetadataobjectrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/catalog/categories Filter by ids, name (contains) or item; page with nextCursor
Parameters
limitintegerquerycursorstringqueryidsstringquerynamestringqueryitemstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/catalog/categories" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"externalId": "string",
"name": "string",
"itemCount": 0
}
],
"nextCursor": "string"
}Schema
itemsItemsItem94[]requiredShow child parameters
idstringrequiredexternalIdstringrequirednamestringrequireditemCountintegerrequirednextCursorstringPOST
https://hermeticor.com /v1/catalog/categories Request body
application/json
externalIdstringrequirednamestringrequired{
"externalId": "string",
"name": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/catalog/categories" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"externalId":"string","name":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"externalId": "string",
"name": "string",
"itemCount": 0
}Schema
idstringrequiredexternalIdstringrequirednamestringrequireditemCountintegerrequiredGET
https://hermeticor.com /v1/catalog/categories/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/catalog/categories/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/catalog/categories/{id} Also removes the category from its items
Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/catalog/categories/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPATCH
https://hermeticor.com /v1/catalog/categories/{id} Parameters
idstringpathrequiredRequest body
application/json
namestringrequired{
"name": "string"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/catalog/categories/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/catalog/items/{id}/categories The category objects this item is in
Parameters
limitintegerquerycursorstringqueryidsstringquerynamestringqueryidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/catalog/items/{id}/categories" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/catalog/items/{id}/categories/{op} op = add | remove | set
Parameters
idstringpathrequiredopstringpathrequiredRequest body
application/json
idsstring[]required{
"ids": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/catalog/items/{id}/categories/{op}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ids":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ids": [
"string"
]
}Schema
idsstring[]requiredGET
https://hermeticor.com /v1/catalog/categories/{id}/items Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/catalog/categories/{id}/items" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/catalog/categories/{id}/items/{op} op = add | remove | set
Parameters
idstringpathrequiredopstringpathrequiredRequest body
application/json
idsstring[]required{
"ids": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/catalog/categories/{id}/items/{op}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ids":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated