Products and files
Products
/ v1 / products The products of the account, newest first: name, type, status, price, billing, number of sales, shop link and admin link.
priceis the normal price.current_priceis what buyers pay now: a running limited offer replaces the price.salescounts paid orders and orders in payment of all time, refunded and free orders included.paid_salescounts only orders with an amount above 0.- Without
status, the list has live and draft products. Archived products are deleted products. - Prices are in the account currency.
For texts, images, files, variants and the linked course, call GET /v1/products/{product_id}.
Authorization
-
Authorizationstring header requiredBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Introduction
Query parameters
-
typestringOnly products of this type.
Allowed values:
downloadlinknewsletterbookingcoursebundleexternal -
statusstringOnly products with this status.
Allowed values:
livedraftarchivedExample:
"live" -
querystringPart of the product name.
max length
100 -
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
1max50Example:2
Response
Fields of the answer with status 200. Errors always have the same format, see Errors.
-
currencystringCurrency code, like EUR. Prices are in this currency.
-
productsarray of objectNewest first.
Show 15 fields Hide fields
-
idintegerThe ID.
-
namestringProduct name.
-
typestringThe type.
Allowed values:
downloadlinknewsletterbookingcoursebundleexternal -
statusstringarchived = deleted.
Allowed values:
livedraftarchived -
pricestringDecimal string, like "19.90". Normal price.
-
current_pricestringDecimal string, like "19.90". What buyers pay now: a running limited offer replaces the price.
-
price_is_frombooleantrue = the product has variants and price is the lowest variant price.
-
billingstringHow the buyer pays: one_time, subscription or installments.
Allowed values:
one_timesubscription -
billing_interval_monthsinteger can be nullSubscription: months between payments.
-
hide_in_shopbooleantrue = not shown on the shop page.
-
salesintegerPaid orders and orders in payment of all time, refunded and free orders included.
-
paid_salesintegerOrders with an amount above 0.
-
urlstring<uri>Sales page.
-
checkout_urlstring<uri> can be nullCheckout page. Only for live products.
-
admin_urlstring<uri>The product 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.
-
linksobjectPages in the Tentary app or on tentary.com.
Show 1 field Hide fields
-
productsstring<uri>Page in the Tentary app.
-