commerce
GET
https://hermeticor.com /v1/commerce/stores/{storeId}/bought-together Pairs of products that are bought in the same order
Parameters
limitintegerquerysincestringqueryuntilstringquerystoreIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/commerce/stores/{storeId}/bought-together" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"productA": "string",
"titleA": "string",
"productB": "string",
"titleB": "string",
"orders": 0
}
]
}Schema
itemsobject[]requiredShow child parameters
productAstringrequiredtitleAstringrequiredproductBstringrequiredtitleBstringrequiredordersintegerrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/commerce/stores/{storeId}/product-rankings Best-selling products across the whole store
Parameters
bystringquerylimitintegerquerysincestringqueryuntilstringquerystoreIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/commerce/stores/{storeId}/product-rankings" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"productId": "string",
"title": "string",
"units": 0,
"revenueMinor": 0,
"orders": 0
}
]
}Schema
itemsobject[]requiredShow child parameters
productIdstringrequiredtitlestringrequiredunitsintegerrequiredrevenueMinorintegerrequiredordersintegerrequiredGET
https://hermeticor.com /v1/commerce/orders Parameters
limitintegerquerycursorstringquerystatusstringqueryprofileIdstringqueryemailstringquerypromoCodestringqueryconversionSourcestringquerycampaignIdstringquerysincestringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/commerce/orders" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"storeId": "string",
"externalId": "string",
"profileId": "string",
"email": "string",
"status": "pending",
"currency": "string",
"totalMinor": 0,
"discountMinor": 0,
"taxMinor": 0,
"shippingMinor": 0,
"refundedMinor": 0,
"promoCode": "string",
"promoPoolId": "string",
"campaignId": "string",
"conversionSource": "string",
"trackingUrl": "string",
"placedAt": "2024-01-01T00:00:00Z",
"landingPageId": "string",
"adRef": "string",
"clickId": "string",
"utm": {},
"shippingAddress": {},
"billingAddress": {},
"orderUrl": "string",
"financialStatus": "string",
"fulfillmentStatus": "string",
"shippedAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem140[]requiredShow child parameters
idstringrequiredstoreIdstringrequiredexternalIdstringrequiredprofileIdstringrequiredemailstringrequiredstatusstringrequiredcurrencystringrequiredtotalMinorintegerrequireddiscountMinorintegerrequiredtaxMinorintegerrequiredshippingMinorintegerrequiredrefundedMinorintegerrequiredpromoCodestringrequiredpromoPoolIdstringrequiredcampaignIdstringrequiredconversionSourcestringrequiredtrackingUrlstringrequiredplacedAtstringrequiredlandingPageIdstringrequiredadRefstringrequiredclickIdstringrequiredutmobjectrequiredshippingAddressobjectrequiredbillingAddressobjectrequiredorderUrlstringrequiredfinancialStatusstringrequiredfulfillmentStatusstringrequiredshippedAtstringrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/commerce/stores/{storeId}/orders Parameters
limitintegerquerycursorstringquerystatusstringqueryprofileIdstringqueryemailstringquerypromoCodestringqueryconversionSourcestringquerycampaignIdstringquerysincestringquerystoreIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/commerce/stores/{storeId}/orders" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated