retire_template
RETIRES one of your templates for good: it leaves the catalog, it takes no new sales and it can NOT be undone or reactivated. It requires confirm=true; ask the person first. Whoever already bought it keeps their download. If a lost dispute on that listing had already brought a wallet-born account to the threshold of lost disputes, retiring does not return its bond: the response then carries bondStatus = pending and a bondNote, and the committee decides.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug of YOUR template. | |
| confirm | Yes | Required true. Retiring is PERMANENT: it cannot be undone or reactivated. Ask before using it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Always true: a refusal travels as an error. | |
| note | Yes | What whoever already bought it keeps. | |
| slug | Yes | Slug of the retired template. | |
| retired | Yes | Always true: retiring is permanent. | |
| bondNote | No | Only present together with bondStatus: why the bond stays held. | |
| bondStatus | No | Only present when THIS retirement held the listing bond: "pending" (same vocabulary as bondStatus in bond_data). It happens when a lost dispute on this listing had already brought the account to the threshold of lost disputes: retiring does not return the bond, the committee decides. Absent when there is no bond or it will be returned the ordinary way. | |
| previousSales | Yes | Sales it got to have (counter). |