Orders
Create order with referral code
Adds an order to an affiliate with matching referral code
POST
/
v1
/
track
/
{code}
Make sure you’re sending over all required fields.
Path Parameters
code
string
requiredThe referral code of the affiliate.
Body
orderId
string
requiredThe 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[]
requiredThe list of products in the order.
metadata
object | null
Additional metadata for the order.
Was this page helpful?