OverviewPlatformsAPI ReferenceResources
Commerce

Report daily engagement

POSThttps://zernio.com/api/v1/commerce/marketing-activities/{remoteId}/engagements

Reports one day's numbers for an activity (UTC day), shown next to it in the store's Marketing section.

PlatformsShopify

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

remoteIdstringRequired

The remoteId given when recording it.

Body

application/json

What every request needs

accountIdstringRequired
datestring (date)Required
Optional parameters7 fields
impressionsinteger
viewsinteger
clicksinteger
sharesinteger
likesinteger
commentsinteger
adSpendstring

Decimal in the store currency.

Responses

Success· the request worked

Errors· the request failed

POST/v1/commerce/marketing-activities/{remoteId}/engagements
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.commerce.addCommerceMarketingEngagement({  path: {    remoteId: 'remote_abc123',  },  body: {    accountId: 'account_abc123',    date: '2026-01-15',  },});console.log(data);
{  "remoteId": "string",  "recorded": true}
OpenAPI specification
Was this page helpful?