novinzodevelopers
Your store's APIApps referenceAffiliates

Record Click

POST/admin/clicks

Records that visitorId arrived on the store's link code, as a visit to /r/ on the store's domain does, for a merchant whose own site the visitor arrived on. Arrivals of one visitor on a link less than a minute apart count once. recorded is false when code names no live link of the store: an unknown or archived one. To credit the visitor's order, name the same visitorId when creating its headless checkout session.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

code*AffiliateCode

case-sensitive base62 (A-Z, a-z, 0-9)

Length2 <= length <= 32
visitorId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/admin/clicks" \  -H "Content-Type: application/json" \  -d '{    "code": "string",    "visitorId": "string"  }'
{  "recorded": true}