Order Bumps
Order bumps
/ v1 / order-bumps The order bumps, newest first. An order bump is an extra offer that buyers add with one checkbox at the checkout. For each: name, status, the offered product (with its status), price and product price, title, description, checkbox text, the products whose checkout shows it, sales and revenue, and the admin link.
active: buyers see it at the checkout.inactive: hidden at every checkout. It keeps its settings and sales.
Without status, the list has active and inactive order bumps. Deleted order bumps are not listed.
product_idsnullmeans the checkouts of all products.salesandrevenuecount the orders with this order bump that are paid or in payment, like the order bump editor in the app. They are only in this list.
The fields have the same names and formats as in POST /v1/order-bumps and PATCH /v1/order-bumps/{order_bump_id}.
Autorisierung
-
Authorizationstring Header erforderlichBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Einführung
Query-Parameter
-
statusstringOnly order bumps with this status.
Mögliche Werte:
activeinactive -
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.
1max.50
Antwort
Felder der Antwort mit Status 200. Fehler haben immer dasselbe Format, siehe Fehler.
-
order_bumpsarray of objectNewest first.
15 Felder anzeigen Felder ausblenden
-
idintegerThe ID.
-
namestringName in the Tentary app. Buyers do not see it.
-
statusstringactive = buyers see it at the checkout. inactive = hidden at every checkout, kept with its settings and sales.
Mögliche Werte:
activeinactive -
productobjectThe offered product.
3 Felder anzeigen Felder ausblenden
-
idintegerThe ID.
-
namestring kann null seinThe name.
-
statusstringThe status.
Mögliche Werte:
livedraftarchiveddeleted
-
-
pricestringDecimal string, like "19.90". What buyers pay for the order bump.
-
product_pricestringDecimal string, like "19.90". The price of the product. Shown crossed out when price is lower.
-
currencystringCurrency code, like EUR.
-
titlestring kann null seinnull = the product title.
-
description_htmlstringShort text about the offer, HTML.
-
checkbox_textstring kann null seinnull = "Yes, add to my order".
-
hide_product_imageboolean -
product_idsarray of integer kann null seinThe products whose checkout shows it. null = all products.
-
admin_urlstring<uri>The page in the Tentary app.
-
salesintegerOrders with this order bump that are paid or in payment (like the editor).
-
revenuestringDecimal string, like "19.90". What buyers paid for it in these orders.
-
-
next_cursorstring kann null seinSend 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.
2 Felder anzeigen Felder ausblenden
-
order_bumpsstring<uri>Page in the Tentary app.
-
new_order_bumpstring<uri>Page in the Tentary app.
-