Affiliates
Affiliate sales
/ v1 / affiliates / sales The commissions of the affiliate partners, newest first. There is one row per paid order or subscription payment and level.
level1: the partner sold it.level2: commission for the partner who recruited the selling partner (source_partner_id). Level 2 rows exist only for sales after the partner was recruited.status:accepted,under_review,paid(paid out),declinedorvoid(the order was refunded).amount: the payment. It is 0.00 after a 100% coupon. The commission is in the same currency.
A fixed commission (see GET /v1/affiliates) does not depend on amount.
Authorization
-
Authorizationstring header requiredBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Introduction
Query parameters
-
partner_idintegerOnly this partner (id from list_affiliates).
min
1Example:900 -
fromstringFirst day (UTC), like 2026-01-01.
pattern
^[0-9]{4}-[0-9]{2}-[0-9]{2}$ -
tostringLast day (UTC).
pattern
^[0-9]{4}-[0-9]{2}-[0-9]{2}$ -
cursorstringnext_cursor of the previous page. Send the same filters and limit again: the cursor does not keep them. Leave out for the first page.
-
limitintegerItems per page, default 25.
min
1max50
Response
Fields of the answer with status 200. Errors always have the same format, see Errors.
-
salesarray of objectNewest first.
Show 13 fields Hide fields
-
order_idintegerThe order ID (not the order number).
-
subscription_paymentbooleantrue = a renewal payment of a subscription.
-
datestring<date-time> can be nullUTC, like 2026-01-31T14:05:00Z.
-
product_idinteger can be nullThe product ID.
-
product_titlestring can be nullThe product name.
-
amountstring can be nullDecimal string, like "19.90". The payment.
-
currencystringCurrency code, like EUR.
-
partner_idintegerThe affiliate partner ID.
-
levelinteger1 = the partner sold it. 2 = commission for the partner who recruited the seller partner.
-
source_partner_idinteger can be nullLevel 2 only.
-
commissionstring can be nullDecimal string, like "19.90".
-
statusstringvoid = the order was refunded.
Allowed values:
acceptedunder_reviewpaiddeclinedvoidunknown -
admin_urlstring<uri>The page in the Tentary app.
-
-
next_cursorstring can be nullSend it as cursor for the next page, with the same filters and limit. null = this is the last page.
-
admin_urlstring<uri>The page in the Tentary app.