commerce

Embed
Preview of the card
<a href="https://hermeticor.com/docs/ref-commerce"><img src="https://hermeticor.com/docs/_api/public/orgs/5fcd8b3c-a27c-4688-972f-de710125592f/spaces/caf5dc05-15f7-4e0c-bdb8-ab29ede6211e/pages/a95d6f25-c648-492d-bcb5-a74907109222/social-card.svg?v=3e7ae33eec8b" alt="commerce" width="600" height="315"></a>
GEThttps://hermeticor.com/v1/commerce/attribution/sources

Parameters

storeIdstringquery
sincestringquery
untilstringquery
limitintegerquery
Page size; omitted returns the whole list
cursorstringquery
Opaque: the nextCursor of the previous page

Code 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[]required
Show child parameters
ordersintegerrequired
revenueMinorintegerrequired
refundedMinorintegerrequired
aovMinorintegerrequired
conversionSourcestringrequired
conversionSourceIdstringrequired
nextCursorstringrequired
4XX Default Response
Example
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  }
}
Schema
errorobjectrequired
Show child parameters
codestringrequired
messagestringrequired
detailsobject
GEThttps://hermeticor.com/v1/commerce/attribution/metrics/{conversionSource}/{conversionSourceId}

Parameters

storeIdstringquery
sincestringquery
untilstringquery
conversionSourcestringpathrequired
conversionSourceIdstringpathrequired

Code 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
ordersintegerrequired
revenueMinorintegerrequired
refundedMinorintegerrequired
aovMinorintegerrequired
conversionSourcestringrequired
conversionSourceIdstringrequired
GEThttps://hermeticor.com/v1/commerce/attribution/products/{conversionSource}/{conversionSourceId}

Parameters

storeIdstringquery
sincestringquery
untilstringquery
limitintegerquery
Page size; omitted returns the whole list
cursorstringquery
Opaque: the nextCursor of the previous page
conversionSourcestringpathrequired
conversionSourceIdstringpathrequired

Code 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[]required
Show child parameters
productIdstringrequired
titlestringrequired
ordersintegerrequired
unitsintegerrequired
revenueMinorintegerrequired
nextCursorstringrequired
Updated