POST
/
v1
/
track
/
{code}

Make sure you’re sending over all required fields.

Path Parameters

code
string
required

The referral code of the affiliate.

Body

Represents an order in the system.

orderId
string
required

The unique identifier for the order.

Minimum length: 1
products
object[]
required

The list of products in the order.

commission
number | null

The commission for the order.

coupons
string[] | null

The list of coupon codes applied to the order.

custom
boolean | null

Indicates whether the order is custom.

customer
object

Represents a customer in the system.

isRoyalty
boolean | null

Indicates whether the order is a royalty order.

metadata
object | null

Additional metadata for the order.

notes
string | null

Additional notes for the order.

paid
boolean

Indicates whether the order has been acknowledged in an affiliate payout.

timestamp
integer | null

The timestamp of the order (in milliseconds).