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

orderId
string
required

The unique identifier 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).

isRoyalty
boolean | null

Indicates whether the order is a royalty order.

custom
boolean | null

Indicates whether the order is custom.

commission
number | null

The commission for the order.

notes
string | null

Additional notes for the order.

coupons
string[] | null

The list of coupon codes applied to the order.

customer
object

Represents a customer in the system.

products
object[]
required

The list of products in the order.

metadata
object | null

Additional metadata for the order.