Löschen und Bestätigungen
Delete
/ v1 / delete Deletes or archives one thing. What happens depends on the type:
productis archived. Buyers cannot buy it, earlier buyers keep access, it leaves its shop categories, and bundles that contain it do not show it.courseis archived. Buyers cannot open it until the account owner restores it in the app.moduleandlessonare deleted with everything in them. The course keeps a backup of the outline. Refused while another lesson waits for one of them.landing_pageis deleted. Not possible for the shop home page.email_campaignis deleted. Drafts only.email_automationandautomation_emailare deleted. Inactive ones only.
Alternatives without confirmation:
- To switch a coupon off, use
PATCH /v1/coupons/{coupon_id}withstatusarchived. - To only hide a landing page or a product, set its
statustodraft.
After the call: the account owner confirms at the confirm_url within 5 minutes. Then check the result with GET /v1/confirmations/{confirmation_id}.
Ändert nichts sofort. Die Antwort enthält einen Link, den die Kontoinhaberin oder der Kontoinhaber in Tentary bestätigt. Bestätigungen
Autorisierung
-
Authorizationstring Header erforderlichBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Einführung
Body application/json
-
kindstring erforderlichWhat to delete.
Mögliche Werte:
productcoursemodulelessonlanding_pageemail_campaignemail_automationautomation_email -
idinteger erforderlichThe id of the thing.
min.
1
Antwort
Felder der Antwort mit Status 200. Fehler haben immer dasselbe Format, siehe Fehler.
The action waits for the seller's confirmation.
-
statusstringNothing happened yet.
Mögliche Werte:
needs_confirmation -
confirmation_idintegerFor get_confirmation.
-
confirm_urlstring<uri>The seller opens it while logged in to Tentary and confirms.
-
expires_atstring<date-time>UTC, like 2026-01-31T14:05:00Z. The link works until then.
-
summarystringWhat the seller confirms.
-
messagestringNext steps for the AI app.