Tracking

Category: Public Base URL: /track/partners Authentication: Mixed Routes: 2 routes documented

Overview

This section documents 2 API routes for tracking.

Quick Reference

Method Endpoint Description
GET /track/partners/click/:code Public endpoint for tracking affiliate/partner clicks. Redir...
POST /track/partners/conversion Public endpoint for recording affiliate/partner conversions....

GET Track Partners Click :code

Endpoint: GET /track/partners/click/:code Authentication: Public (Optional)

Description

Public endpoint for tracking affiliate/partner clicks. Redirects to the offer landing page and sets a tracking cookie.

URL Parameters

Parameter Type Required Description
code string Yes Code identifier

Response

Success:

// Response structure (to be documented)

Example Request

curl -X GET 'https://your-store.omnicart.cc/track/partners/click/:code' \
  -H 'Content-Type: application/json'

POST Track Partners Conversion

Endpoint: POST /track/partners/conversion Authentication: Public (Optional)

Description

Public endpoint for recording affiliate/partner conversions. Called when an order is placed to attribute revenue to a partner.

Request Body

// Request body structure (to be documented)

Response

Success:

// Response structure (to be documented)

Example Request

curl -X POST 'https://your-store.omnicart.cc/track/partners/conversion' \
  -H 'Content-Type: application/json'