Your store's APIApps referenceReseller purchases and keys
Admin Run Key Actions
POST
/admin/keys/actionsRuns one support action on several keys of the store, each as AdminRunKeyAction would, one after another, and answers what became of each.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
licenseIds*array<>
Items
1 <= items <= 25action*||||||
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/admin/keys/actions" \ -H "Content-Type: application/json" \ -d '{ "licenseIds": [ "string" ], "action": { "_tag": "HwidReset" } }'[ { "_tag": "Done", "id": "string", "value": { "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 Run Key Action POST
Runs a support action on any key of the store, for the seller. It goes through the same pipeline as a reseller's action but skips the reseller's role, policy and quotas, and is never charged; the provider must still declare the capability. Revoking an unused key refunds its reseller per the store's refund policy.
Approve Purchase POST
Mints a purchase that waited for approval. A provider that cannot be reached leaves it processing; it is retried when read.
