commerce
GET
https://hermeticor.com /v1/commerce/attribution/sources Parameters
storeIdstringquerysincestringqueryuntilstringquerylimitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/commerce/attribution/sources" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"orders": 0,
"revenueMinor": 0,
"refundedMinor": 0,
"aovMinor": 0,
"conversionSource": "string",
"conversionSourceId": "string"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem143[]requiredShow child parameters
ordersintegerrequiredrevenueMinorintegerrequiredrefundedMinorintegerrequiredaovMinorintegerrequiredconversionSourcestringrequiredconversionSourceIdstringrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/commerce/attribution/metrics/{conversionSource}/{conversionSourceId} Parameters
storeIdstringquerysincestringqueryuntilstringqueryconversionSourcestringpathrequiredconversionSourceIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/commerce/attribution/metrics/{conversionSource}/{conversionSourceId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"orders": 0,
"revenueMinor": 0,
"refundedMinor": 0,
"aovMinor": 0,
"conversionSource": "string",
"conversionSourceId": "string"
}Schema
ordersintegerrequiredrevenueMinorintegerrequiredrefundedMinorintegerrequiredaovMinorintegerrequiredconversionSourcestringrequiredconversionSourceIdstringrequiredGET
https://hermeticor.com /v1/commerce/attribution/products/{conversionSource}/{conversionSourceId} Parameters
storeIdstringquerysincestringqueryuntilstringquerylimitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageconversionSourcestringpathrequiredconversionSourceIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/commerce/attribution/products/{conversionSource}/{conversionSourceId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"productId": "string",
"title": "string",
"orders": 0,
"units": 0,
"revenueMinor": 0
}
],
"nextCursor": "string"
}Schema
itemsItemsItem61[]requiredShow child parameters
productIdstringrequiredtitlestringrequiredordersintegerrequiredunitsintegerrequiredrevenueMinorintegerrequirednextCursorstringrequiredUpdated