Admin Mint Trial
/admin/trialsMints one free trial key of a product AdminListTrials lists for an active reseller, whose keys it joins, lasting minutes or, left out, the product's trial limit. The seller's own trial: the reseller's role, policy and trial quota do not apply, and nothing is charged.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$1 <= length <= 2000 < value <= 9007199254740991^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/admin/trials" \ -H "Content-Type: application/json" \ -d '{ "connectionId": "string", "productId": "string", "note": "string", "membershipId": "string" }'{ "action": { "id": "string", "kind": "hwid_reset", "licenseId": "string", "costMinor": 0, "currency": "AED", "status": "pending", "error": "string", "actor": "string", "actorName": "string", "createdAt": "string" }, "license": { "id": "string", "code": "string", "skuId": "string", "skuName": "string", "purpose": "sale", "purchaseId": "string", "status": "unused", "durationMinutes": 1, "activatedAt": "string", "expiresAt": "string", "holderDisplay": "string", "lastSeenAt": "string", "note": "string", "tags": [ "string" ], "refreshedAt": "string", "createdAt": "string" }}Admin List Trials GET
The provider products the seller may mint trial keys of: each one a live product listing sells, with the longest a trial may last. With none, the first step of the store's trial setup that is missing. Fails with the provider's error when a connection's provider cannot list its products. A reseller may mint trials of those a live product listing they can see sells, while every policy of their chain allows trial and its quota is not used up; a trial lasts up to the product's maxMinutes, whatever the durations its listings sell.
Admin Retry Purchase POST
Retries minting a purchase still processing, the way the reseller's retry does.
